Add more guards for CIRCUITPYTHON_PEW
This commit is contained in:
parent
2bfafd1fc9
commit
263134dcd3
|
@ -226,7 +226,7 @@ void reset_port(void) {
|
|||
#if CIRCUITPY_GAMEPAD
|
||||
gamepad_reset();
|
||||
#endif
|
||||
#ifdef CIRCUITPY_PEW
|
||||
#if CIRCUITPY_PEW
|
||||
pew_reset();
|
||||
#endif
|
||||
|
||||
|
|
|
@ -50,7 +50,9 @@ void shared_timer_handler(bool is_tc, uint8_t index) {
|
|||
pulseout_interrupt_handler(index);
|
||||
break;
|
||||
case TC_HANDLER_PEW:
|
||||
#if CIRCUITPY_PEW
|
||||
pewpew_interrupt_handler(index);
|
||||
#endif
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue