manage heater added

This commit is contained in:
PavelSindler 2017-11-26 20:51:56 +01:00
parent 4297a98fdd
commit d8bf148996

View file

@ -1227,9 +1227,9 @@ static void lcd_implementation_drawmenu_sdfile_selected(uint8_t row, const char*
longFilenameTMP = longFilename + j; longFilenameTMP = longFilename + j;
n = LCD_WIDTH - 1; n = LCD_WIDTH - 1;
for(int g = 0; g<300 ;g++){ for(int g = 0; g<300 ;g++){
manage_heater();
MYSERIAL.print("G: "); MYSERIAL.print("G: ");
MYSERIAL.println(g); MYSERIAL.println(g);
if (!SdFatUtil::test_stack_integrity()) stack_error();
if(LCD_CLICKED || ( enc_dif != encoderDiff )){ if(LCD_CLICKED || ( enc_dif != encoderDiff )){
longFilenameTMP = longFilename; longFilenameTMP = longFilename;
*(longFilenameTMP + LCD_WIDTH - 2) = '\0'; *(longFilenameTMP + LCD_WIDTH - 2) = '\0';