Compare commits
4 Commits
a6031798da
...
Firmware_1
Author | SHA1 | Date | |
---|---|---|---|
367a41527d | |||
5460a70f6d | |||
3b4a22bff7 | |||
df209a788b |
BIN
Case/up to PCB Rev 4/Case_V1_Bottom.stl
Normal file
BIN
Case/up to PCB Rev 4/Case_V1_Bottom.stl
Normal file
Binary file not shown.
BIN
Case/up to PCB Rev 4/Case_V1_Lid.stl
Normal file
BIN
Case/up to PCB Rev 4/Case_V1_Lid.stl
Normal file
Binary file not shown.
BIN
Case/up to PCB Rev 4/Case_V1_Lid_Display.stl
Normal file
BIN
Case/up to PCB Rev 4/Case_V1_Lid_Display.stl
Normal file
Binary file not shown.
@@ -26,8 +26,8 @@
|
||||
#define HOST_NAME "ChainLube_%06X" // Use printf-Formatting - Chip-ID (uin32_t) will be added
|
||||
#endif
|
||||
|
||||
#define SW_VERSION 1.3
|
||||
#define FLASH_FS_VERSION 1.3
|
||||
#define SW_VERSION 1.4
|
||||
#define FLASH_FS_VERSION 1.4
|
||||
|
||||
#ifndef OTA_DELAY
|
||||
#define OTA_DELAY 50 // ticks -> 10ms / tick
|
||||
|
@@ -8,7 +8,11 @@
|
||||
#include "dtc.h"
|
||||
#include "common.h"
|
||||
|
||||
#if PCB_REV == 1 || PCB_REV == 2 || PCB_REV == 3
|
||||
#define EEPROM_SIZE_BYTES I2C_DEVICESIZE_24LC64
|
||||
#elif PCB_REV == 4
|
||||
#define EEPROM_SIZE_BYTES I2C_DEVICESIZE_24LC256
|
||||
#endif
|
||||
|
||||
typedef enum SpeedSource_e
|
||||
{
|
||||
|
@@ -247,7 +247,7 @@ void Debug_ShowDTCs()
|
||||
else
|
||||
strcpy(buff_active, "none");
|
||||
|
||||
Debug_pushMessage("%s \t %6d \t %s", buff_timestamp, DTCStorage[i].Number, buff_active);
|
||||
Debug_pushMessage("%s \t %6d \t %s \t %d", buff_timestamp, DTCStorage[i].Number, buff_active, DTCStorage[i].severity);
|
||||
}
|
||||
}
|
||||
}
|
@@ -256,7 +256,7 @@ void WebserverPOST_Callback(AsyncWebServerRequest *request)
|
||||
{
|
||||
request->send(LittleFS, "/post.htm", "text/html", false, processor);
|
||||
|
||||
Serial.print("POST:\n");
|
||||
Debug_pushMessage("POST:\n");
|
||||
int paramsNr = request->params();
|
||||
for (int i = 0; i < paramsNr; i++)
|
||||
{
|
||||
@@ -552,7 +552,6 @@ void Websocket_HandleMessage(void *arg, uint8_t *data, size_t len)
|
||||
if (strcmp((char *)data, "start") == 0)
|
||||
{
|
||||
SetDebugportStatus(dbg_Webui, enabled);
|
||||
Debug_ShowDTCs();
|
||||
}
|
||||
else if (strcmp((char *)data, "stop") == 0)
|
||||
{
|
||||
|
Reference in New Issue
Block a user