diff options
| author | Keith Packard <keithp@keithp.com> | 2014-11-06 15:58:42 -0800 |
|---|---|---|
| committer | Keith Packard <keithp@keithp.com> | 2014-11-06 15:58:42 -0800 |
| commit | f2e5ffd839fe5be99359e4c86a96f03148bac698 (patch) | |
| tree | 1ed60b6bc62815e3dd6304bffea003a39ba15083 /src/avr | |
| parent | f2060d6ca222a04608e598baf59757f12ea2ec70 (diff) | |
altos: Declare port register type only in arch header
Instead of defaulting to 8 bits, explicitly require declaration of the
type of the port register for each architecture.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/avr')
| -rw-r--r-- | src/avr/ao_arch.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/avr/ao_arch.h b/src/avr/ao_arch.h index d626e830..f8c7f042 100644 --- a/src/avr/ao_arch.h +++ b/src/avr/ao_arch.h @@ -41,6 +41,8 @@ #define AO_STACK_SIZE 116 #endif +#define AO_PORT_TYPE uint8_t + /* Various definitions to make GCC look more like SDCC */ #define ao_arch_naked_declare __attribute__((naked)) |
