Skip to content

Commit 7a8c1da

Browse files
committed
fixup! fixup! Emulate reversible digital pin primitives
1 parent 9f00d27 commit 7a8c1da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Primitives/emulated.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,7 @@ def_prim_serialize(chip_digital_write) {
438438
}
439439

440440
def_prim(chip_digital_read, oneToOneU32) {
441-
// uint8_t pin = arg0.uint32; // never used in emulator
441+
uint8_t pin = arg0.uint32; // never used in emulator
442442
pop_args(1);
443443
if (pin < NUM_DIGITAL_PINS) {
444444
pushUInt32(PINS[pin]);

0 commit comments

Comments
 (0)