Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
uPython-mirror
Commits
1811c6bc
Commit
1811c6bc
authored
Jun 10, 2015
by
Daniel Campora
Browse files
cc3200: Remove Timer.AB constant.
Timer.A and Timer.B can be ORed for this purpose.
parent
e2dc7ac2
Changes
2
Hide whitespace changes
Inline
Side-by-side
cc3200/mods/pybtimer.c
View file @
1811c6bc
...
...
@@ -510,7 +510,6 @@ STATIC const mp_map_elem_t pyb_timer_locals_dict_table[] = {
// class constants
{
MP_OBJ_NEW_QSTR
(
MP_QSTR_A
),
MP_OBJ_NEW_SMALL_INT
(
TIMER_A
)
},
{
MP_OBJ_NEW_QSTR
(
MP_QSTR_B
),
MP_OBJ_NEW_SMALL_INT
(
TIMER_B
)
},
{
MP_OBJ_NEW_QSTR
(
MP_QSTR_AB
),
MP_OBJ_NEW_SMALL_INT
(
TIMER_A
|
TIMER_B
)
},
{
MP_OBJ_NEW_QSTR
(
MP_QSTR_ONE_SHOT
),
MP_OBJ_NEW_SMALL_INT
(
TIMER_CFG_A_ONE_SHOT
)
},
{
MP_OBJ_NEW_QSTR
(
MP_QSTR_PERIODIC
),
MP_OBJ_NEW_SMALL_INT
(
TIMER_CFG_A_PERIODIC
)
},
{
MP_OBJ_NEW_QSTR
(
MP_QSTR_EDGE_COUNT
),
MP_OBJ_NEW_SMALL_INT
(
TIMER_CFG_A_CAP_COUNT
)
},
...
...
cc3200/qstrdefsport.h
View file @
1811c6bc
...
...
@@ -348,7 +348,6 @@ Q(event_count)
Q
(
event_time
)
Q
(
A
)
Q
(
B
)
Q
(
AB
)
Q
(
ONE_SHOT
)
Q
(
PERIODIC
)
Q
(
EDGE_COUNT
)
...
...
Write
Preview
Supports
Markdown
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