diff options
Diffstat (limited to 'src/generic')
-rw-r--r-- | src/generic/armcm_timer.c | 2 | ||||
-rw-r--r-- | src/generic/serial_irq.c | 4 | ||||
-rw-r--r-- | src/generic/timer_irq.c | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/src/generic/armcm_timer.c b/src/generic/armcm_timer.c index f1bc11fa..a9c8ab9f 100644 --- a/src/generic/armcm_timer.c +++ b/src/generic/armcm_timer.c @@ -11,7 +11,7 @@ #include "command.h" // shutdown #include "sched.h" // sched_timer_dispatch -DECL_CONSTANT(CLOCK_FREQ, CONFIG_CLOCK_FREQ); +DECL_CONSTANT("CLOCK_FREQ", CONFIG_CLOCK_FREQ); // Return the number of clock ticks for a given number of microseconds uint32_t diff --git a/src/generic/serial_irq.c b/src/generic/serial_irq.c index 76304323..c2b23864 100644 --- a/src/generic/serial_irq.c +++ b/src/generic/serial_irq.c @@ -19,8 +19,8 @@ static uint8_t receive_buf[RX_BUFFER_SIZE], receive_pos; static uint8_t transmit_buf[96], transmit_pos, transmit_max; -DECL_CONSTANT(SERIAL_BAUD, CONFIG_SERIAL_BAUD); -DECL_CONSTANT(RECEIVE_WINDOW, RX_BUFFER_SIZE); +DECL_CONSTANT("SERIAL_BAUD", CONFIG_SERIAL_BAUD); +DECL_CONSTANT("RECEIVE_WINDOW", RX_BUFFER_SIZE); // Rx interrupt - store read data void diff --git a/src/generic/timer_irq.c b/src/generic/timer_irq.c index f7e255e6..40e9336b 100644 --- a/src/generic/timer_irq.c +++ b/src/generic/timer_irq.c @@ -11,7 +11,7 @@ #include "command.h" // shutdown #include "sched.h" // sched_timer_dispatch -DECL_CONSTANT(CLOCK_FREQ, CONFIG_CLOCK_FREQ); +DECL_CONSTANT("CLOCK_FREQ", CONFIG_CLOCK_FREQ); // Return the number of clock ticks for a given number of microseconds uint32_t |