Skip to content

Commit facb286

Browse files
Igor-Misicjciberlin
authored andcommitted
communication: remove firmware_size from ACTION_SELECT
1 parent 785e26b commit facb286

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Bootloader/Src/communication.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,8 +137,6 @@ Communication_handler(uint8_t* buf, uint32_t length) {
137137
case communicationState_CMD_ACTION_SELECT:
138138
/* Different bootloader actions. Not necessary to flash firmware from here. */
139139

140-
firmware_size = Utils_StringToInt(buf, length);
141-
142140
if (0 == strcmp((char*)buf, VERIFY_FLASHER_CMD)) {
143141
s_update_state = communicationState_RECEIVE_FIRMWARE_SIZE;
144142
success = Communication_sendMessage(ack_pack, sizeof(ack_pack));

0 commit comments

Comments
 (0)