Skip to content

Commit 0a0e8f6

Browse files
committed
Fix for compile warning with operators and parens.
1 parent 5c8bad0 commit 0a0e8f6

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

hal/hifive1.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -444,7 +444,7 @@ int RAMFUNCTION hal_flash_write(uint32_t address, const uint8_t *data, int len)
444444
fespi_csmode_hold();
445445
fespi_sw_tx(FESPI_WRITE_ENABLE);
446446
fespi_sw_tx(FESPI_PAGE_PROGRAM);
447-
fespi_write_address(page << 8 + off);
447+
fespi_write_address((page << 8) + off);
448448
for(i = off; i < FLASH_PAGE_SIZE; i++) {
449449
fespi_sw_tx(data[i]);
450450
}

tools/test-update-server/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
CC=gcc
2-
CFLAGS=-Wall -DWOLFSSL_DTLS -DWOLFSSL_DEBUG -DTFM_TIMING_RESISTANT -g -ggdb
2+
CFLAGS=-Wall -DWOLFSSL_DEBUG -DTFM_TIMING_RESISTANT -g -ggdb
33
EXE=server
44

55
LIBS=-lwolfssl -lpthread

0 commit comments

Comments
 (0)