Skip to content

Commit f98dfd6

Browse files
committed
Add microSD back to Flex
1 parent 629161d commit f98dfd6

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

Firmware/RTK_Everywhere/Begin.ino

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -779,8 +779,7 @@ void beginBoard()
779779
present.gnss_to_uart = true;
780780

781781
present.gpioExpanderSwitches = true;
782-
// present.microSd = true; // TODO remove comment out - v1.0 hardware does not have pullup on #CD so card
783-
// detection does not work
782+
present.microSd = true;
784783
present.microSdCardDetectLow = true;
785784

786785
present.display_i2c0 = true;
@@ -818,11 +817,8 @@ void beginBoard()
818817
pin_microSD_CS = 22;
819818
pin_microSD_CardDetect = 39;
820819

821-
pin_gpioExpanderInterrupt =
822-
2; // TODO remove on v1.1 hardware. Not used since all GPIO expanded pins are outputs
823-
824-
digitalWrite(pin_powerFastOff, LOW); // Low = Stay on. High = turn off.
825820
pinMode(pin_powerFastOff, OUTPUT);
821+
digitalWrite(pin_powerFastOff, LOW); // Low = Stay on. High = turn off.
826822

827823
DMW_if systemPrintf("pin_bluetoothStatusLED: %d\r\n", pin_bluetoothStatusLED);
828824
pinMode(pin_bluetoothStatusLED, OUTPUT);

0 commit comments

Comments
 (0)