mirror of
https://github.com/sanni/cartreader.git
synced 2025-01-11 20:49:06 +01:00
Update Cart_Reader.ino
- Add support for simulating a long press for the serial interface by seinding `l` or `L`. This lets someone actually run the SNES clock calibration using the serial interface.
This commit is contained in:
parent
62b8182dee
commit
9f92f6614d
@ -3210,6 +3210,11 @@ uint8_t checkButton() {
|
||||
return 3;
|
||||
}
|
||||
|
||||
//Long Press (simulate)
|
||||
else if ((incomingByte == 'l') || (incomingByte == 'L')) {
|
||||
return 4;
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user