esp8266: Clean up Pin intr handler by moving all code to machine_pin.c.
The macro MP_FASTCODE is used to explicitly place required functions in iRAM, instead of needing a separate .c file.
This commit is contained in:
@@ -23,8 +23,6 @@ typedef struct _pyb_pin_obj_t {
|
||||
const pyb_pin_obj_t pyb_pin_obj[16 + 1];
|
||||
|
||||
void pin_init0(void);
|
||||
void pin_intr_handler_iram(void *arg);
|
||||
void pin_intr_handler(uint32_t);
|
||||
|
||||
uint mp_obj_get_pin(mp_obj_t pin_in);
|
||||
pyb_pin_obj_t *mp_obj_get_pin_obj(mp_obj_t pin_in);
|
||||
|
||||
Reference in New Issue
Block a user