diff options
Diffstat (limited to 'os/hal/platforms/Posix')
-rw-r--r-- | os/hal/platforms/Posix/hal_lld.c | 2 | ||||
-rw-r--r-- | os/hal/platforms/Posix/pal_lld.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/os/hal/platforms/Posix/hal_lld.c b/os/hal/platforms/Posix/hal_lld.c index b3d32d6de..6d25f7aea 100644 --- a/os/hal/platforms/Posix/hal_lld.c +++ b/os/hal/platforms/Posix/hal_lld.c @@ -48,7 +48,7 @@ static struct timeval tick = {0, 1000000 / CH_FREQUENCY}; * @details Digital I/O ports static configuration as defined in @p board.h.
*/
#if CH_HAL_USE_PAL || defined(__DOXYGEN__)
-const VIOConfig pal_default_config = {
+const PALConfig pal_default_config = {
{0, 0, 0},
{0, 0, 0}
};
diff --git a/os/hal/platforms/Posix/pal_lld.h b/os/hal/platforms/Posix/pal_lld.h index cb78442e4..07de81c65 100644 --- a/os/hal/platforms/Posix/pal_lld.h +++ b/os/hal/platforms/Posix/pal_lld.h @@ -81,7 +81,7 @@ typedef struct { * @brief Virtual port 2 setup data.
*/
sim_vio_port_t VP2Data;
-} VIOConfig;
+} PALConfig;
/**
* @brief Width, in bits, of an I/O port.
@@ -183,7 +183,7 @@ typedef sim_vio_port_t *ioportid_t; #if !defined(__DOXYGEN__)
extern sim_vio_port_t vio_port_1;
extern sim_vio_port_t vio_port_2;
-extern const VIOConfig pal_default_config;
+extern const PALConfig pal_default_config;
#endif
#ifdef __cplusplus
|