aboutsummaryrefslogtreecommitdiffstats
path: root/os
diff options
context:
space:
mode:
authorRocco Marco Guglielmi <roccomarco.guglielmi@gmail.com>2017-09-17 21:14:55 +0000
committerRocco Marco Guglielmi <roccomarco.guglielmi@gmail.com>2017-09-17 21:14:55 +0000
commit5d68a9bbf0ede82f82e099e2cb9c782cb523a49d (patch)
tree8aa61dddfdc0b28fb4e675027e0e3d78fbd36c55 /os
parent908373b487072d551d98059af63ce362dcc652fa (diff)
downloadChibiOS-5d68a9bbf0ede82f82e099e2cb9c782cb523a49d.tar.gz
ChibiOS-5d68a9bbf0ede82f82e099e2cb9c782cb523a49d.tar.bz2
ChibiOS-5d68a9bbf0ede82f82e099e2cb9c782cb523a49d.zip
Minor fix on default demo and PAL driver
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10631 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os')
-rw-r--r--os/hal/ports/SAMA/LLD/PIOv1/hal_pal_lld.h13
1 files changed, 4 insertions, 9 deletions
diff --git a/os/hal/ports/SAMA/LLD/PIOv1/hal_pal_lld.h b/os/hal/ports/SAMA/LLD/PIOv1/hal_pal_lld.h
index c6c5d7cca..920f192d7 100644
--- a/os/hal/ports/SAMA/LLD/PIOv1/hal_pal_lld.h
+++ b/os/hal/ports/SAMA/LLD/PIOv1/hal_pal_lld.h
@@ -222,7 +222,9 @@ typedef struct {
volatile uint32_t IDR;
volatile uint32_t IMR;
volatile uint32_t ISR;
- volatile uint32_t Reserved2[3];
+ volatile uint32_t SIONR;
+ volatile uint32_t SIOSR;
+ volatile uint32_t IOSSR;
volatile uint32_t IOFR;
} sama_pio_t;
#else
@@ -239,9 +241,7 @@ typedef struct {
volatile uint32_t IDR;
volatile uint32_t IMR;
volatile uint32_t ISR;
- volatile uint32_t SIONR;
- volatile uint32_t SIOSR;
- volatile uint32_t IOSSR;
+ volatile uint32_t Reserved2[3];
volatile uint32_t IOFR;
} sama_pio_t;
#endif
@@ -490,11 +490,6 @@ typedef uint32_t iopadid_t;
*/
#define pal_lld_get_line_event(line)
-#if !defined(__DOXYGEN__)
-extern const PALConfig pal_default_config;
-extern palevent_t _pal_events[16];
-#endif
-
#ifdef __cplusplus
extern "C" {
#endif