Skip to content

Commit

Permalink
[sw/bootloader] support twi and spi coexisting
Browse files Browse the repository at this point in the history
  • Loading branch information
Lukas Pajak committed Jan 9, 2025
1 parent 1acfdb1 commit 76a18d5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions sw/bootloader/bootloader.c
Original file line number Diff line number Diff line change
Expand Up @@ -594,8 +594,9 @@ void get_exe(int src) {
system_error(ERROR_FLASH);
}
}
#elif (TWI_EN)
else {
#endif
#if (TWI_EN)
else if(src == EXE_STREAM_TWI) {
PRINT_TEXT("Loading from TWI Devices, starting with ");
PRINT_XNUM(TWI_DEVICE_ID);
PRINT_TEXT("...\n");
Expand Down

0 comments on commit 76a18d5

Please sign in to comment.