Skip to content

Commit 1811c6b

Browse files
author
Daniel Campora
committed
cc3200: Remove Timer.AB constant.
Timer.A and Timer.B can be ORed for this purpose.
1 parent e2dc7ac commit 1811c6b

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

cc3200/mods/pybtimer.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -510,7 +510,6 @@ STATIC const mp_map_elem_t pyb_timer_locals_dict_table[] = {
510510
// class constants
511511
{ MP_OBJ_NEW_QSTR(MP_QSTR_A), MP_OBJ_NEW_SMALL_INT(TIMER_A) },
512512
{ MP_OBJ_NEW_QSTR(MP_QSTR_B), MP_OBJ_NEW_SMALL_INT(TIMER_B) },
513-
{ MP_OBJ_NEW_QSTR(MP_QSTR_AB), MP_OBJ_NEW_SMALL_INT(TIMER_A | TIMER_B) },
514513
{ MP_OBJ_NEW_QSTR(MP_QSTR_ONE_SHOT), MP_OBJ_NEW_SMALL_INT(TIMER_CFG_A_ONE_SHOT) },
515514
{ MP_OBJ_NEW_QSTR(MP_QSTR_PERIODIC), MP_OBJ_NEW_SMALL_INT(TIMER_CFG_A_PERIODIC) },
516515
{ MP_OBJ_NEW_QSTR(MP_QSTR_EDGE_COUNT), MP_OBJ_NEW_SMALL_INT(TIMER_CFG_A_CAP_COUNT) },

cc3200/qstrdefsport.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,6 @@ Q(event_count)
348348
Q(event_time)
349349
Q(A)
350350
Q(B)
351-
Q(AB)
352351
Q(ONE_SHOT)
353352
Q(PERIODIC)
354353
Q(EDGE_COUNT)

0 commit comments

Comments
 (0)