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

@ -25,7 +25,6 @@ steps:
commands: commands:
- apt update - apt update
- apt install -y make zip - apt install -y make zip
- make pcb -j$(nproc)
# - make pcb -j$(nproc) BOARD=fiatlux # - make pcb -j$(nproc) BOARD=fiatlux
# - make pcb -j$(nproc) BOARD=fiatlux_cc48 # - make pcb -j$(nproc) BOARD=fiatlux_cc48

View file

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