aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/ports/AVR
diff options
context:
space:
mode:
Diffstat (limited to 'os/hal/ports/AVR')
-rw-r--r--os/hal/ports/AVR/pal_lld.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/os/hal/ports/AVR/pal_lld.h b/os/hal/ports/AVR/pal_lld.h
index c7d100d8a..ff6705f4a 100644
--- a/os/hal/ports/AVR/pal_lld.h
+++ b/os/hal/ports/AVR/pal_lld.h
@@ -130,7 +130,7 @@ typedef uint8_t iomode_t;
* any assumption about it, use the provided macros when populating
* variables of this type.
*/
-typedef avr_gpio_registers_t *ioportid_t;
+typedef volatile avr_gpio_registers_t * ioportid_t;
/*===========================================================================*/
/* I/O Ports Identifiers. */