Skip to content

Commit e25471e

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Primitives/emulated.cpp

Lines changed: 1 addition & 1 deletion
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;
442442
pop_args(1);
443443
if (pin < NUM_DIGITAL_PINS) {
444444
pushUInt32(PINS[pin]);

0 commit comments

Comments
 (0)