diff --git a/.build.yml b/.build.yml index c056f19..4848ab2 100644 --- a/.build.yml +++ b/.build.yml @@ -25,7 +25,6 @@ steps: commands: - apt update - apt install -y make zip - - make pcb -j$(nproc) # - make pcb -j$(nproc) BOARD=fiatlux # - make pcb -j$(nproc) BOARD=fiatlux_cc48 diff --git a/firmware/web.cpp b/firmware/web.cpp index 72b13f0..1532f3c 100644 --- a/firmware/web.cpp +++ b/firmware/web.cpp @@ -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. *