aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/ports/NRF5/LLD
diff options
context:
space:
mode:
authorStephane D'Alu <sdalu@sdalu.com>2016-07-10 00:10:48 +0200
committerStephane D'Alu <sdalu@sdalu.com>2016-07-10 00:10:48 +0200
commit7557cbac22ac5da99fa5681f3d311277bebbbaae (patch)
tree17a9af7a2b9e373502571dbe5f472668e585390d /os/hal/ports/NRF5/LLD
parenta6fa2d3dd9403223c94f81ce655f83b6891b4ebc (diff)
downloadChibiOS-Contrib-7557cbac22ac5da99fa5681f3d311277bebbbaae.tar.gz
ChibiOS-Contrib-7557cbac22ac5da99fa5681f3d311277bebbbaae.tar.bz2
ChibiOS-Contrib-7557cbac22ac5da99fa5681f3d311277bebbbaae.zip
serie -> series
Diffstat (limited to 'os/hal/ports/NRF5/LLD')
-rw-r--r--os/hal/ports/NRF5/LLD/hal_pal_lld.h4
-rw-r--r--os/hal/ports/NRF5/LLD/hal_serial_lld.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/os/hal/ports/NRF5/LLD/hal_pal_lld.h b/os/hal/ports/NRF5/LLD/hal_pal_lld.h
index da2da74..40a2c5e 100644
--- a/os/hal/ports/NRF5/LLD/hal_pal_lld.h
+++ b/os/hal/ports/NRF5/LLD/hal_pal_lld.h
@@ -128,9 +128,9 @@ typedef NRF_GPIO_Type *ioportid_t;
* @details Low level drivers can define multiple ports, it is suggested to
* use this naming convention.
*/
-#if NRF_SERIE == 51
+#if NRF_SERIES == 51
#define IOPORT1 NRF_GPIO
-#elif NRF_SERIE == 52
+#elif NRF_SERIES == 52
#define IOPORT1 NRF_P0
#endif
diff --git a/os/hal/ports/NRF5/LLD/hal_serial_lld.c b/os/hal/ports/NRF5/LLD/hal_serial_lld.c
index cba7804..e67b433 100644
--- a/os/hal/ports/NRF5/LLD/hal_serial_lld.c
+++ b/os/hal/ports/NRF5/LLD/hal_serial_lld.c
@@ -26,9 +26,9 @@
#if (HAL_USE_SERIAL == TRUE) || defined(__DOXYGEN__)
-#if NRF_SERIE == 51
+#if NRF_SERIES == 51
#include "nrf51.h"
-#elif NRF_SERIE == 52
+#elif NRF_SERIES == 52
#include "nrf52.h"
#define UART0_IRQn UARTE0_UART0_IRQn
#endif