diff options
Diffstat (limited to 'src/drivers/uart')
-rw-r--r-- | src/drivers/uart/util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/uart/util.c b/src/drivers/uart/util.c index 86da8dc746..e1b83ba59d 100644 --- a/src/drivers/uart/util.c +++ b/src/drivers/uart/util.c @@ -24,7 +24,7 @@ unsigned int default_baudrate(void) static const unsigned baud[8] = { 115200, 57600, 38400, 19200, 9600, 4800, 2400, 1200 }; unsigned b_index = 0; -#if defined(__PRE_RAM__) +#if defined(__ROMCC__) b_index = read_option(baud_rate, 0xff); #else if (get_option(&b_index, "baud_rate") != CB_SUCCESS) |