[sw/bootloader] support twi and spi coexisting

This commit is contained in:
Lukas Pajak 2025-01-09 17:05:05 +01:00
parent 1acfdb157a
commit 76a18d5db3

View file

@ -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");