This commit is contained in:
j3d1 2022-09-22 21:48:36 +02:00
parent 52d3b80663
commit d3d60efbc3
2 changed files with 4 additions and 1 deletions

View file

@ -33,6 +33,8 @@ int version = 23;
#define vTaskDelayMs(ms) vTaskDelay((ms) / portTICK_PERIOD_MS)
const char hex_lookup[] = "0123456789ABCDEF\0\0";
uint16_t voltage_val;
struct {
@ -253,6 +255,8 @@ void websocket_task(void *pvParameter) {
vTaskDelete(nullptr);
}
char str[] = "L00000000\n";
/**
* This function is called when websocket frame is received.
*