From fa74e803236f063b800f58480e3a1dbdf2344957 Mon Sep 17 00:00:00 2001 From: utzig Date: Wed, 9 Jul 2014 01:28:30 +0000 Subject: Fixed a warning git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7024 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/ports/AVR/pal_lld.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. */ -- cgit v1.2.3