Compare commits
2 Commits
44647d686f
...
master
Author | SHA1 | Date | |
---|---|---|---|
9e22556d36 | |||
1ac129a027
|
2
Makefile
2
Makefile
@@ -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
|
CC=arm-none-eabi-gcc
|
||||||
AR=arm-none-eabi-ar
|
AR=arm-none-eabi-ar
|
||||||
|
@@ -46,7 +46,7 @@ void clientStop(client_t *client) {
|
|||||||
|
|
||||||
if (res != SOCK_BUSY) {
|
if (res != SOCK_BUSY) {
|
||||||
close(client->sockNum);
|
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 {
|
} else {
|
||||||
bool successfullyClosed = false;
|
bool successfullyClosed = false;
|
||||||
uint32_t startTime = HAL_GetTick();
|
uint32_t startTime = HAL_GetTick();
|
||||||
|
Reference in New Issue
Block a user