|
1 | 1 | /*
|
2 |
| - * This file is part of the Micro Python project, http://micropython.org/ |
| 2 | + * This file is part of the MicroPython project, http://micropython.org/ |
3 | 3 | *
|
4 | 4 | * The MIT License (MIT)
|
5 | 5 | *
|
6 |
| - * Copyright (c) 2015 Josef Gajdusek |
| 6 | + * Copyright (c) 2017 "Eric Poulsen" <eric@zyxod.com> |
7 | 7 | *
|
8 | 8 | * Permission is hereby granted, free of charge, to any person obtaining a copy
|
9 | 9 | * of this software and associated documentation files (the "Software"), to deal
|
@@ -224,7 +224,9 @@ STATIC MP_DEFINE_CONST_FUN_OBJ_KW(machine_rtc_wake_on_ext1_obj, 1, machine_rtc_w
|
224 | 224 | STATIC const mp_map_elem_t machine_rtc_locals_dict_table[] = {
|
225 | 225 | { MP_OBJ_NEW_QSTR(MP_QSTR_datetime), (mp_obj_t)&machine_rtc_datetime_obj },
|
226 | 226 | { MP_OBJ_NEW_QSTR(MP_QSTR_memory), (mp_obj_t)&machine_rtc_memory_obj },
|
227 |
| - { MP_OBJ_NEW_QSTR(MP_QSTR_wake_on_touch), (mp_obj_t)&machine_rtc_wake_on_touch_obj }, |
| 227 | + // FIXME -- need to enable touch IRQ for this to work, |
| 228 | + // doesn't seem possible in the IDF presently. |
| 229 | + // { MP_OBJ_NEW_QSTR(MP_QSTR_wake_on_touch), (mp_obj_t)&machine_rtc_wake_on_touch_obj }, |
228 | 230 | { MP_OBJ_NEW_QSTR(MP_QSTR_wake_on_ext0), (mp_obj_t)&machine_rtc_wake_on_ext0_obj },
|
229 | 231 | { MP_OBJ_NEW_QSTR(MP_QSTR_wake_on_ext1), (mp_obj_t)&machine_rtc_wake_on_ext1_obj },
|
230 | 232 | { MP_OBJ_NEW_QSTR(MP_QSTR_WAKEUP_ALL_LOW), mp_const_false },
|
|
0 commit comments