Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
micropython
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
micropython
Commits
5b66c7b7
Commit
5b66c7b7
authored
Jan 11, 2019
by
Damien George
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
stm32/wdt: Make singleton WDT object const so it goes in ROM.
parent
529dcce2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
ports/stm32/wdt.c
ports/stm32/wdt.c
+1
-1
No files found.
ports/stm32/wdt.c
View file @
5b66c7b7
...
...
@@ -37,7 +37,7 @@ typedef struct _pyb_wdt_obj_t {
mp_obj_base_t
base
;
}
pyb_wdt_obj_t
;
STATIC
pyb_wdt_obj_t
pyb_wdt
=
{{
&
pyb_wdt_type
}};
STATIC
const
pyb_wdt_obj_t
pyb_wdt
=
{{
&
pyb_wdt_type
}};
STATIC
mp_obj_t
pyb_wdt_make_new
(
const
mp_obj_type_t
*
type
,
size_t
n_args
,
size_t
n_kw
,
const
mp_obj_t
*
all_args
)
{
// parse arguments
...
...
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