This commit is contained in:
e2002
2022-12-29 10:18:56 +03:00
parent 4f4bd6d507
commit 4de7059c75
2 changed files with 4 additions and 3 deletions

View File

@@ -17,6 +17,7 @@
#define PLMITEMHEIGHT 22
#define bootLogoTop 28
//#define DSP_QUEUE_TICKS 5
/* SROLLS */ /* {{ left, top, fontsize, align }, buffsize, uppercase, width, scrolldelay, scrolldelta, scrolltime } */
const ScrollConfig metaConf PROGMEM = {{ TFT_FRAMEWDT, TFT_FRAMEWDT, 2, WA_LEFT }, 140, true, DSP_WIDTH+10, 5000, 4, 30 };
@@ -51,7 +52,7 @@ const WidgetConfig bootWdtConf PROGMEM = { 0, 130, 1, WA_CENTER };
const ProgressConfig bootPrgConf PROGMEM = { 90, 14, 4 };
/* BANDS */ /* { onebandwidth, onebandheight, bandsHspace, bandsVspace, numofbands, fadespeed } */
const VUBandsConfig bandsConf PROGMEM = { 19, 90, 2, 2, 10, 4 };
const VUBandsConfig bandsConf PROGMEM = { 19, 90, 2, 2, 10, 2 };
/* STRINGS */
const char numtxtFmt[] PROGMEM = "%d";
const char rssiFmt[] PROGMEM = "WiFi %d";

View File

@@ -93,7 +93,7 @@ void DspCore::drawFastHLine(int16_t x, int16_t y, int16_t w, uint16_t color){
}
void DspCore::initDisplay() {
TAKE_MUTEX();
// TAKE_MUTEX();
#if DSP_HSPI
begin(SPI2);
#else
@@ -102,7 +102,7 @@ void DspCore::initDisplay() {
invert();
flip();
setTextSize(1);
GIVE_MUTEX();
// GIVE_MUTEX();
}
void DspCore::drawLogo(uint16_t top) {