dummy_ir_numbers

This commit is contained in:
e2002
2022-12-01 12:05:17 +03:00
parent f7c8aaa965
commit f9de820e51
3 changed files with 8 additions and 5 deletions

View File

@@ -310,6 +310,7 @@ void irLoop() {
break; break;
} }
case IR_AST: { case IR_AST: {
ESP.restart();
break; break;
} }
} /* switch (target) */ } /* switch (target) */

View File

@@ -508,10 +508,12 @@ void Display::_start(){
void Display::putRequest(displayRequestType_e type, int payload){ void Display::putRequest(displayRequestType_e type, int payload){
if(type==DSP_START) _start(); if(type==DSP_START) _start();
#ifdef USE_NEXTION #ifdef USE_NEXTION
requestParams_t request; requestParams_t request;
request.type = type; request.type = type;
request.payload = payload; request.payload = payload;
nextion.putRequest(request); nextion.putRequest(request);
#else
if(type==NEWMODE) mode((displayMode_e)payload);
#endif #endif
} }
//============================================================================================================================ //============================================================================================================================

View File

@@ -1,7 +1,7 @@
#ifndef options_h #ifndef options_h
#define options_h #define options_h
#define VERSION "0.8.115" #define VERSION "0.8.121"
/******************************************************* /*******************************************************
DO NOT EDIT THIS FILE. DO NOT EDIT THIS FILE.