Skip to content

Commit

Permalink
WIP WIP WIP : prevent a crash at boot (to be analysed)
Browse files Browse the repository at this point in the history
Signed-off-by: Ludovic LANGE <[email protected]>
  • Loading branch information
llange committed Jul 22, 2023
1 parent d844398 commit ea791c3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions vehicle/OVMS.V3/main/ovms_console.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
#include "ovms_console.h"
#include "ovms_version.h"
#include "log_buffers.h"
#include "esp_idf_version.h"

//static const char *TAG = "Console";
static char CRbuf[4] = { '\r', '\033', '[', 'K' };
Expand Down Expand Up @@ -124,6 +125,9 @@ void OvmsConsole::Service()

void OvmsConsole::Poll(portTickType ticks, QueueHandle_t queue)
{
#if ESP_IDF_VERSION_MAJOR >= 4
static
#endif
Event event;

if (!queue)
Expand Down

0 comments on commit ea791c3

Please sign in to comment.