mirror of
https://github.com/sanni/cartreader.git
synced 2024-11-15 01:15:06 +01:00
Remove "Rotate to Change Press to Select" spam from log file
This commit is contained in:
parent
eb083b86f3
commit
d4dafab307
@ -751,9 +751,7 @@ void readDataLineSingleDigit(FsFile& database, void* byteData) {
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if ( \
|
#if ( \
|
||||||
defined(ENABLE_ODY2) || defined(ENABLE_7800) || defined(ENABLE_C64) || defined(ENABLE_JAGUAR) || \
|
defined(ENABLE_ODY2) || defined(ENABLE_7800) || defined(ENABLE_C64) || defined(ENABLE_JAGUAR) || defined(ENABLE_VIC20) || defined(ENABLE_ATARI8))
|
||||||
defined(ENABLE_VIC20)|| defined(ENABLE_ATARI8)\
|
|
||||||
)
|
|
||||||
struct database_entry_mapper_size {
|
struct database_entry_mapper_size {
|
||||||
byte gameMapper;
|
byte gameMapper;
|
||||||
byte gameSize;
|
byte gameSize;
|
||||||
@ -811,6 +809,8 @@ boolean checkCartSelection(FsFile& database, void (*readData)(FsFile&, void*), v
|
|||||||
printDataLine(data);
|
printDataLine(data);
|
||||||
}
|
}
|
||||||
println_Msg(FS(FSTRING_EMPTY));
|
println_Msg(FS(FSTRING_EMPTY));
|
||||||
|
4
|
||||||
|
|
||||||
#if defined(ENABLE_OLED)
|
#if defined(ENABLE_OLED)
|
||||||
print_STR(press_to_change_STR, 0);
|
print_STR(press_to_change_STR, 0);
|
||||||
if (fastScrolling > 1)
|
if (fastScrolling > 1)
|
||||||
@ -888,6 +888,10 @@ boolean checkCartSelection(FsFile& database, void (*readData)(FsFile&, void*), v
|
|||||||
void printInstructions() {
|
void printInstructions() {
|
||||||
println_Msg(FS(FSTRING_EMPTY));
|
println_Msg(FS(FSTRING_EMPTY));
|
||||||
|
|
||||||
|
#ifdef ENABLE_GLOBAL_LOG
|
||||||
|
// Disable log to prevent unnecessary logging
|
||||||
|
dont_log = true;
|
||||||
|
#endif
|
||||||
#if defined(ENABLE_OLED)
|
#if defined(ENABLE_OLED)
|
||||||
print_STR(press_to_change_STR, 1);
|
print_STR(press_to_change_STR, 1);
|
||||||
print_STR(right_to_select_STR, 1);
|
print_STR(right_to_select_STR, 1);
|
||||||
@ -898,8 +902,11 @@ void printInstructions() {
|
|||||||
println_Msg(F("U/D to Change"));
|
println_Msg(F("U/D to Change"));
|
||||||
println_Msg(F("Space/Zero to Select"));
|
println_Msg(F("Space/Zero to Select"));
|
||||||
#endif /* ENABLE_OLED | ENABLE_LCD | SERIAL_MONITOR */
|
#endif /* ENABLE_OLED | ENABLE_LCD | SERIAL_MONITOR */
|
||||||
|
|
||||||
display_Update();
|
display_Update();
|
||||||
|
#ifdef ENABLE_GLOBAL_LOG
|
||||||
|
// Enable log again
|
||||||
|
dont_log = false;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
#if (defined(ENABLE_OLED) || defined(ENABLE_LCD))
|
#if (defined(ENABLE_OLED) || defined(ENABLE_LCD))
|
||||||
|
Loading…
Reference in New Issue
Block a user