diff options
Diffstat (limited to 'Bootloaders/DFU/BootloaderDFU.c')
-rw-r--r-- | Bootloaders/DFU/BootloaderDFU.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/Bootloaders/DFU/BootloaderDFU.c b/Bootloaders/DFU/BootloaderDFU.c index 71b37ea68..4184b190c 100644 --- a/Bootloaders/DFU/BootloaderDFU.c +++ b/Bootloaders/DFU/BootloaderDFU.c @@ -690,11 +690,7 @@ static void ProcessReadCommand(void) uint8_t DataIndexToRead = SentCommand.Data[1];
if (IS_ONEBYTE_COMMAND(SentCommand.Data, 0x00)) // Read bootloader info
- {
- ResponseByte = BootloaderInfo[DataIndexToRead];
- }
+ ResponseByte = BootloaderInfo[DataIndexToRead];
else if (IS_ONEBYTE_COMMAND(SentCommand.Data, 0x01)) // Read signature byte
- {
- ResponseByte = SignatureInfo[DataIndexToRead - 0x30];
- }
+ ResponseByte = SignatureInfo[DataIndexToRead - 0x30];
}
|