[2.0.x] Miscellaneous fixes (#12039)
* Allow override of soft SPI pins in `pins_*.h` * Add default case to avoid compiler warning. * Additional pin definitions for Archim 2. * Einsy Retro has same timings as Einsy Rambo.
This commit is contained in:
committed by
Scott Lahteine
parent
906a24fa81
commit
ec9aa4f468
@ -94,6 +94,7 @@ void ST7920_Lite_Status_Screen::write_number(const int16_t value, const uint8_t
|
||||
case 3: fmt = PSTR("%3d"); break;
|
||||
case 2: fmt = PSTR("%2d"); break;
|
||||
case 1: fmt = PSTR("%1d"); break;
|
||||
default: return;
|
||||
}
|
||||
sprintf_P(str, fmt, value);
|
||||
write_str(str);
|
||||
|
@ -60,7 +60,7 @@
|
||||
#define CPU_ST7920_DELAY_1 DELAY_NS(0)
|
||||
#define CPU_ST7920_DELAY_2 DELAY_NS(188)
|
||||
#define CPU_ST7920_DELAY_3 DELAY_NS(0)
|
||||
#elif MB(MINIRAMBO) || MB(EINSY_RAMBO)
|
||||
#elif MB(MINIRAMBO) || MB(EINSY_RAMBO) || MB(EINSY_RETRO)
|
||||
#define CPU_ST7920_DELAY_1 DELAY_NS(0)
|
||||
#define CPU_ST7920_DELAY_2 DELAY_NS(250)
|
||||
#define CPU_ST7920_DELAY_3 DELAY_NS(0)
|
||||
|
Reference in New Issue
Block a user