Compare commits

...

2 Commits

Author SHA1 Message Date
9e22556d36 fix logging 2020-12-26 22:08:59 +01:00
1ac129a027 add -Wall and -Werror 2020-11-20 11:12:36 +01:00
2 changed files with 2 additions and 2 deletions

View File

@@ -4,7 +4,7 @@
CFLAGS?=-mcpu=cortex-m3 -mthumb -Og -fdata-sections -ffunction-sections -g -gdwarf-2
CFLAGS?=-mcpu=cortex-m3 -mthumb -Og -fdata-sections -ffunction-sections -g -gdwarf-2 -Wall -Werror
CC=arm-none-eabi-gcc
AR=arm-none-eabi-ar

View File

@@ -46,7 +46,7 @@ void clientStop(client_t *client) {
if (res != SOCK_BUSY) {
close(client->sockNum);
logMsg("clientStop: disconnect returns 0x%02x, invalid response, ignore it", res);
logMsg("clientStop: disconnect returns %d, invalid response, ignore it", res);
} else {
bool successfullyClosed = false;
uint32_t startTime = HAL_GetTick();