diff options
| author | Keith Packard <keithp@keithp.com> | 2019-02-25 16:41:45 -0700 |
|---|---|---|
| committer | Keith Packard <keithp@keithp.com> | 2019-02-25 16:41:45 -0700 |
| commit | 0448b9b638f8599633227a639ef9d8572780bbd9 (patch) | |
| tree | 720e86e4f9ba08d0017b2b797d78de12301714e3 /src/kernel/ao.h | |
| parent | 6fec7b5affd223c18bad78377d7655af958dffc2 (diff) | |
altos: Change default time type to 32-bits
Offers additional range for internal use without increasing cost on
32-bit platforms.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/kernel/ao.h')
| -rw-r--r-- | src/kernel/ao.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kernel/ao.h b/src/kernel/ao.h index 910c1d8e..c00de1fe 100644 --- a/src/kernel/ao.h +++ b/src/kernel/ao.h @@ -100,8 +100,8 @@ extern AO_ROMCONFIG_SYMBOL uint32_t ao_radio_cal; */ #ifndef AO_TICK_TYPE -#define AO_TICK_TYPE uint16_t -#define AO_TICK_SIGNED int16_t +#define AO_TICK_TYPE uint32_t +#define AO_TICK_SIGNED int32_t #endif extern volatile AO_TICK_TYPE ao_tick_count; |
