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/attiny | |
| 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/attiny')
| -rw-r--r-- | src/attiny/ao_arch.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/attiny/ao_arch.h b/src/attiny/ao_arch.h index dfd41afe..5550eb44 100644 --- a/src/attiny/ao_arch.h +++ b/src/attiny/ao_arch.h @@ -36,6 +36,11 @@ #define AO_LED_TYPE uint8_t +#ifndef AO_TICK_TYPE +#define AO_TICK_TYPE uint16_t +#define AO_TICK_SIGNED int16_t +#endif + /* Various definitions to make GCC look more like SDCC */ #define ao_arch_naked_declare __attribute__((naked)) |
