aboutsummaryrefslogtreecommitdiff
path: root/cc3200/misc
diff options
context:
space:
mode:
authorDaniel Campora2015-05-09 17:46:16 +0200
committerDaniel Campora2015-05-17 12:34:49 +0200
commit8e611e841476d98eb829978a7e73ce92ff822ca8 (patch)
tree7881c41feb3a5c5ecd98b1a65da5c0bc56d3382f /cc3200/misc
parent9466e154b4806ace535d4493d1dd6e63379c2f68 (diff)
cc3200: Add Timer module. Supports free running, PWM and capture modes.
Diffstat (limited to 'cc3200/misc')
-rw-r--r--cc3200/misc/mpcallback.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/cc3200/misc/mpcallback.c b/cc3200/misc/mpcallback.c
index 87969f727..6ca4f49d2 100644
--- a/cc3200/misc/mpcallback.c
+++ b/cc3200/misc/mpcallback.c
@@ -71,7 +71,6 @@ mp_obj_t mpcallback_new (mp_obj_t parent, mp_obj_t handler, const mp_cb_methods_
mpcallback_obj_t *mpcallback_find (mp_obj_t parent) {
for (mp_uint_t i = 0; i < MP_STATE_PORT(mpcallback_obj_list).len; i++) {
- // search for the object and then remove it
mpcallback_obj_t *callback_obj = ((mpcallback_obj_t *)(MP_STATE_PORT(mpcallback_obj_list).items[i]));
if (callback_obj->parent == parent) {
return callback_obj;