coding style

This commit is contained in:
Martijn Plak committed 2024-01-24 17:05:37 +01:00
1 parent 1d14bc38c5
commit 6202da367f
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -169,7 +169,7 @@ static void UsbPacketReceived(uint8_t *packet) {
bool isok = true;
uint8_t *base = NULL;
bool raw_address_mode = (flags & READ_MEM_DOWNLOAD_FLAG_RAW) != 0;
bool raw_address_mode = (flags & READ_MEM_DOWNLOAD_FLAG_RAW) == READ_MEM_DOWNLOAD_FLAG_RAW;
if (!raw_address_mode) {
base = (uint8_t *) _flash_start;