1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-04-22 21:23:07 +03:00

fix parentheses warning

This commit is contained in:
Markus Sattler 2015-06-05 14:57:12 +02:00
parent 1544a6ad0f
commit 8811d53224
2 changed files with 2 additions and 2 deletions

View File

@ -60,7 +60,7 @@ int eboot_command_read(struct eboot_command* cmd)
}
uint32_t crc32 = eboot_command_calculate_crc32(cmd);
if (cmd->magic & EBOOT_MAGIC_MASK != EBOOT_MAGIC ||
if ((cmd->magic & EBOOT_MAGIC_MASK) != EBOOT_MAGIC ||
cmd->crc32 != crc32) {
return 1;
}

View File

@ -28,7 +28,7 @@
int SPIEraseAreaEx(const uint32_t start, const uint32_t size)
{
if (start & (FLASH_SECTOR_SIZE - 1) != 0) {
if ((start & (FLASH_SECTOR_SIZE - 1)) != 0) {
return 1;
}