30s reboot delay

This commit is contained in:
Philippe G
2020-08-11 11:01:19 -07:00
parent 3caa2fc452
commit 603791de5b
3 changed files with 9 additions and 8 deletions

View File

@@ -414,7 +414,7 @@ static void server(in_addr_t ip, u16_t hport, u16_t cport) {
displayer.dirty = true;
xSemaphoreGive(displayer.mutex);
// inform new LMS server of our capabilities
sendSETD(displayer.width, GDS_GetHeight(display));
@@ -426,7 +426,7 @@ static void server(in_addr_t ip, u16_t hport, u16_t cport) {
*/
static bool handler(u8_t *data, int len){
bool res = true;
if (!strncmp((char*) data, "vfdc", 4)) {
vfdc_handler(data, len);
} else if (!strncmp((char*) data, "grfe", 4)) {
@@ -444,7 +444,7 @@ static bool handler(u8_t *data, int len){
} else {
res = false;
}
// chain protocol handlers (bitwise or is fine)
if (*slimp_handler_chain) res |= (*slimp_handler_chain)(data, len);
@@ -1123,7 +1123,7 @@ static void visu_handler( u8_t *data, int len) {
*/
static void displayer_task(void *args) {
int sleep;
while (1) {
xSemaphoreTake(displayer.mutex, portMAX_DELAY);