Skip to content

Commit 09b7339

Browse files
committed
fnSystem: fix SD card detect for non Atari platforms
1 parent 2b6505d commit 09b7339

File tree

11 files changed

+16
-13
lines changed

11 files changed

+16
-13
lines changed

include/pinmap/a2_d32pro.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
// pins 12-15 are used to interface with the JTAG debugger
55
// so leave them alone if we're using JTAG
66
#ifndef JTAG
7-
#define PIN_CARD_DETECT GPIO_NUM_12 // fnSystem.h
7+
#define PIN_CARD_DETECT GPIO_NUM_15 // fnSystem.h
88
#define PIN_CARD_DETECT_FIX GPIO_NUM_15 // fnSystem.h
99
#endif
1010

include/pinmap/a2_rev0.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#ifdef PINMAP_A2_REV0
33

44
/* SD Card */
5-
#define PIN_CARD_DETECT GPIO_NUM_12 // fnSystem.h
5+
#define PIN_CARD_DETECT GPIO_NUM_15 // fnSystem.h
66
#define PIN_CARD_DETECT_FIX GPIO_NUM_15 // fnSystem.h
77
#define PIN_SD_HOST_CS GPIO_NUM_5 //fnFsSD.cpp
88
#define PIN_SD_HOST_MISO GPIO_NUM_19

include/pinmap/adamv1.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#ifdef PINMAP_ADAMV1
33

44
/* SD Card */
5-
#define PIN_CARD_DETECT GPIO_NUM_12 // fnSystem.h
5+
#define PIN_CARD_DETECT GPIO_NUM_15 // fnSystem.h
66
#define PIN_CARD_DETECT_FIX GPIO_NUM_15 // fnSystem.h
77
#define PIN_SD_HOST_CS GPIO_NUM_5 //fnFsSD.cpp
88
#define PIN_SD_HOST_MISO GPIO_NUM_19

include/pinmap/coco_cart.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#ifdef PINMAP_COCO_CART
33

44
/* SD Card - fnFsSD.cpp */
5-
#define PIN_CARD_DETECT GPIO_NUM_12 // fnSystem.h
5+
#define PIN_CARD_DETECT GPIO_NUM_15 // fnSystem.h
66
#define PIN_CARD_DETECT_FIX GPIO_NUM_15 // fnSystem.h
77
#define PIN_SD_HOST_CS GPIO_NUM_5 // fnFsSD.cpp
88
#define PIN_SD_HOST_MISO GPIO_NUM_19

include/pinmap/coco_devkitc.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#ifdef PINMAP_COCO_DEVKITC
33

44
/* SD Card - fnFsSD.cpp */
5-
#define PIN_CARD_DETECT GPIO_NUM_12 // fnSystem.h
5+
#define PIN_CARD_DETECT GPIO_NUM_15 // fnSystem.h
66
#define PIN_CARD_DETECT_FIX GPIO_NUM_15 // fnSystem.h
77
#define PIN_SD_HOST_CS GPIO_NUM_5 // fnFsSD.cpp
88
#define PIN_SD_HOST_MISO GPIO_NUM_19

include/pinmap/fujiapple-iec.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#ifdef PINMAP_FUJIAPPLE_IEC
55

66
/* SD Card */
7-
#define PIN_CARD_DETECT GPIO_NUM_12 // fnSystem.h
7+
#define PIN_CARD_DETECT GPIO_NUM_15 // fnSystem.h
88
#define PIN_CARD_DETECT_FIX GPIO_NUM_15 // fnSystem.h
99
#define PIN_SD_HOST_CS GPIO_NUM_5 // fnFsSD.cpp
1010
#define PIN_SD_HOST_MISO GPIO_NUM_19

include/pinmap/iec-d32pro.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// pins 12-15 are used to interface with the JTAG debugger
99
// so leave them alone if we're using JTAG
1010
#ifndef JTAG
11-
#define PIN_CARD_DETECT GPIO_NUM_12 // fnSystem.h
11+
#define PIN_CARD_DETECT GPIO_NUM_15 // fnSystem.h
1212
#define PIN_CARD_DETECT_FIX GPIO_NUM_15 // fnSystem.h
1313
#endif
1414

include/pinmap/iec-nugget.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
// pins 12-15 are used to interface with the JTAG debugger
88
// so leave them alone if we're using JTAG
99
#ifndef JTAG
10-
#define PIN_CARD_DETECT GPIO_NUM_12 // fnSystem.h
10+
#define PIN_CARD_DETECT GPIO_NUM_15 // fnSystem.h
1111
#define PIN_CARD_DETECT_FIX GPIO_NUM_15 // fnSystem.h
1212
#endif
1313

include/pinmap/lynx.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#ifdef PINMAP_LYNX
33

44
/* SD Card */
5-
#define PIN_CARD_DETECT GPIO_NUM_12 // fnSystem.h
5+
#define PIN_CARD_DETECT GPIO_NUM_15 // fnSystem.h
66
#define PIN_CARD_DETECT_FIX GPIO_NUM_15 // fnSystem.h
77
#define PIN_SD_HOST_CS GPIO_NUM_5 // fnFsSD.cpp
88
#define PIN_SD_HOST_MISO GPIO_NUM_19

include/pinmap/rs232_rev0.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#ifdef PINMAP_RS232_REV0
33

44
/* SD Card - fnFsSD.cpp */
5-
#define PIN_CARD_DETECT GPIO_NUM_12 // fnSystem.h
5+
#define PIN_CARD_DETECT GPIO_NUM_15 // fnSystem.h
66
#define PIN_CARD_DETECT_FIX GPIO_NUM_15 // fnSystem.h
77
#define PIN_SD_HOST_CS GPIO_NUM_5 // fnFsSD.cpp
88
#define PIN_SD_HOST_MISO GPIO_NUM_19

0 commit comments

Comments
 (0)