Skip to content

Commit d919791

Browse files
authored
Fixed compatibility issues with non-Teensy boards
1 parent 501c72c commit d919791

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/SdTerminal.h

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ class Terminal
1818
{
1919
public:
2020
bool initialized;
21-
uint8_t numColumns;
2221

2322

2423

@@ -33,9 +32,14 @@ class Terminal
3332
private:
3433
Stream* _serial;
3534
FireTimer msTimer;
36-
SdFatSdioEX sd;
3735
File root;
3836

37+
#ifdef CORE_TEENSY
38+
SdFatSdioEX sd;
39+
#else
40+
SdFat sd;
41+
#endif // CORE_TEENSY
42+
3943
char* pwd;
4044
uint16_t _timeout;
4145
bool echo = true;

0 commit comments

Comments
 (0)