Skip to content

Commit bc549ee

Browse files
committed
Correct version number, added line end to command 0x31
1 parent 5db5584 commit bc549ee

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Inc/version.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@
88
#ifndef VERSION_H_
99
#define VERSION_H_
1010

11-
#define FIRMWARE_VERSION "1.3.0\r\n"
11+
#define FIRMWARE_VERSION "1.3.2\r\n"
1212

1313
#endif /* VERSION_H_ */

Src/usart.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,8 @@ void HAL_UART_RxCpltCallback(UART_HandleTypeDef *huart)
244244
// batteryLevelInVolts);
245245
HAL_UART_Transmit_IT(&huart1, &batteryLevelInVolts,
246246
sizeof(float));
247+
size = sprintf(response, "\r\n");
248+
HAL_UART_Transmit_IT(&huart1, response, size);
247249
break;
248250

249251
/****************** Communication ******************/

0 commit comments

Comments
 (0)