Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
MaixPy-v1
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
MaixPy-v1
Commits
b992f6b4
Commit
b992f6b4
authored
Mar 20, 2019
by
Neucrack
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
change nes args lower case
parent
5be56324
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
ports/k210-freertos/mpy_support/nes/py_nes.c
ports/k210-freertos/mpy_support/nes/py_nes.c
+4
-4
No files found.
ports/k210-freertos/mpy_support/nes/py_nes.c
View file @
b992f6b4
...
...
@@ -55,10 +55,10 @@ mp_obj_t py_nes_init(uint n_args, const mp_obj_t *args, mp_map_t *kw_args)
const
mp_arg_t
machine_nes_init_allowed_args
[]
=
{
{
MP_QSTR_rc_type
,
MP_ARG_INT
,
{.
u_int
=
0
}
},
{
MP_QSTR_
CS
,
MP_ARG_INT
|
MP_ARG_KW_ONLY
,
{.
u_int
=
-
1
}
},
{
MP_QSTR_
MOSI
,
MP_ARG_INT
|
MP_ARG_KW_ONLY
,
{.
u_int
=
-
1
}
},
{
MP_QSTR_
MISO
,
MP_ARG_INT
|
MP_ARG_KW_ONLY
,
{.
u_int
=
-
1
}
},
{
MP_QSTR_
CLK
,
MP_ARG_INT
|
MP_ARG_KW_ONLY
,
{.
u_int
=
-
1
}
},
{
MP_QSTR_
cs
,
MP_ARG_INT
|
MP_ARG_KW_ONLY
,
{.
u_int
=
-
1
}
},
{
MP_QSTR_
mosi
,
MP_ARG_INT
|
MP_ARG_KW_ONLY
,
{.
u_int
=
-
1
}
},
{
MP_QSTR_
miso
,
MP_ARG_INT
|
MP_ARG_KW_ONLY
,
{.
u_int
=
-
1
}
},
{
MP_QSTR_
clk
,
MP_ARG_INT
|
MP_ARG_KW_ONLY
,
{.
u_int
=
-
1
}
},
{
MP_QSTR_repeat
,
MP_ARG_INT
|
MP_ARG_KW_ONLY
,
{.
u_int
=
16
}
},
{
MP_QSTR_vol
,
MP_ARG_INT
|
MP_ARG_KW_ONLY
,
{.
u_int
=
5
}
}
};
...
...
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