We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 241696f commit 8e94a91Copy full SHA for 8e94a91
1 file changed
ports/raspberrypi/common-hal/rp2pio/StateMachine.c
@@ -377,6 +377,7 @@ bool rp2pio_statemachine_construct(rp2pio_statemachine_obj_t *self,
377
}
378
const mcu_pin_obj_t *pin = mcu_get_pin_by_number(pin_number);
379
if (!pin) {
380
+ // TODO: should be impossible, but free resources here anyway
381
return false;
382
383
_pin_reference_count[pin_number]++;
0 commit comments