Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Sunxi Tools
Commits
fd16859d
Commit
fd16859d
authored
May 06, 2012
by
Alejandro Mery
Browse files
script: changed gpio data to int32_t
parent
65059d05
Changes
2
Show whitespace changes
Inline
Side-by-side
script.c
View file @
fd16859d
...
@@ -207,7 +207,7 @@ struct script_string_entry *script_string_entry_new(struct script_section *secti
...
@@ -207,7 +207,7 @@ struct script_string_entry *script_string_entry_new(struct script_section *secti
struct
script_gpio_entry
*
script_gpio_entry_new
(
struct
script_section
*
section
,
struct
script_gpio_entry
*
script_gpio_entry_new
(
struct
script_section
*
section
,
const
char
*
name
,
const
char
*
name
,
unsigned
port
,
unsigned
num
,
unsigned
port
,
unsigned
num
,
unsigned
data
[
4
])
int32_t
data
[
4
])
{
{
struct
script_gpio_entry
*
entry
;
struct
script_gpio_entry
*
entry
;
...
...
script.h
View file @
fd16859d
...
@@ -72,7 +72,7 @@ struct script_gpio_entry {
...
@@ -72,7 +72,7 @@ struct script_gpio_entry {
struct
script_entry
entry
;
struct
script_entry
entry
;
unsigned
port
,
port_num
;
unsigned
port
,
port_num
;
unsigned
data
[
4
];
int32_t
data
[
4
];
};
};
/** create a new script tree */
/** create a new script tree */
...
@@ -104,6 +104,6 @@ struct script_string_entry *script_string_entry_new(struct script_section *secti
...
@@ -104,6 +104,6 @@ struct script_string_entry *script_string_entry_new(struct script_section *secti
struct
script_gpio_entry
*
script_gpio_entry_new
(
struct
script_section
*
script
,
struct
script_gpio_entry
*
script_gpio_entry_new
(
struct
script_section
*
script
,
const
char
*
name
,
const
char
*
name
,
unsigned
port
,
unsigned
num
,
unsigned
port
,
unsigned
num
,
unsigned
data
[
4
]);
int32_t
data
[
4
]);
#endif
#endif
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment