File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3838#include "machine_rtc.h"
3939#include "modesp32.h"
4040
41- extern machine_rtc_config_t machine_rtc_config ;
42-
4341typedef struct _machine_pin_obj_t {
4442 mp_obj_base_t base ;
4543 gpio_num_t id ;
Original file line number Diff line number Diff line change @@ -39,4 +39,6 @@ typedef struct {
3939 bool ext1_level : 1 ;
4040} machine_rtc_config_t ;
4141
42+ extern machine_rtc_config_t machine_rtc_config ;
43+
4244#endif
Original file line number Diff line number Diff line change 4040#include "machine_rtc.h"
4141#include "modesp32.h"
4242
43- extern machine_rtc_config_t machine_rtc_config ;
44-
4543STATIC mp_obj_t esp32_wake_on_touch (const mp_obj_t wake ) {
4644
4745 if (machine_rtc_config .ext0_pin != -1 ) {
Original file line number Diff line number Diff line change 4949
5050#if MICROPY_PY_MACHINE
5151
52- extern machine_rtc_config_t machine_rtc_config ;
53-
5452typedef enum {
5553 MP_PWRON_RESET = 1 ,
5654 MP_HARD_RESET ,
You can’t perform that action at this time.
0 commit comments