Ian's fix for buffer overflow and UI tweaks

master
Farhan 2018-05-22 23:48:31 +05:30
rodzic c8b1c015d4
commit e66a49a161
2 zmienionych plików z 3 dodań i 2 usunięć

Wyświetl plik

@ -557,11 +557,12 @@ void menuSetupCwDelay(int btn){
active_delay(500);
prev_cw_delay = cwDelayTime;
cwDelayTime = getValueByKnob(10, 1000, 50, cwDelayTime, "6:Setup>CW Delay>", " msec");
cwDelayTime = getValueByKnob(10, 1000, 50, cwDelayTime, "CW Delay>", " msec");
printLine1("CW Delay Set!");
printLine2("");
active_delay(500);
updateDisplay();
menuOn = 0;
}

Wyświetl plik

@ -108,7 +108,7 @@ LiquidCrystal lcd(8,9,10,11,12,13);
* the serial port as we can easily run out of buffer space. This is done in the serial_in_count variable.
*/
char c[30], b[30];
char printBuff[2][17]; //mirrors what is showing on the two lines of the display
char printBuff[2][31]; //mirrors what is showing on the two lines of the display
int count = 0; //to generally count ticks, loops, etc
/**