From 1ca291f20b969f04df1c7ec24ee68a2f3fa3a28b Mon Sep 17 00:00:00 2001 From: Thad House Date: Sun, 17 Jul 2016 20:54:39 -0700 Subject: [PATCH] Fixes a missed HAL_Bool change from int32 (#181) --- hal/include/HAL/DIO.h | 2 +- hal/lib/athena/DIO.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hal/include/HAL/DIO.h b/hal/include/HAL/DIO.h index 99de9a8ff6..7f30d9b06e 100644 --- a/hal/include/HAL/DIO.h +++ b/hal/include/HAL/DIO.h @@ -15,7 +15,7 @@ extern "C" { #endif HAL_DigitalHandle HAL_InitializeDIOPort(HAL_PortHandle port_handle, - int32_t input, int32_t* status); + HAL_Bool input, int32_t* status); void HAL_FreeDIOPort(HAL_DigitalHandle dio_port_handle); HAL_DigitalPWMHandle HAL_AllocateDigitalPWM(int32_t* status); diff --git a/hal/lib/athena/DIO.cpp b/hal/lib/athena/DIO.cpp index bf62b7e18d..22fa9cd996 100644 --- a/hal/lib/athena/DIO.cpp +++ b/hal/lib/athena/DIO.cpp @@ -29,7 +29,7 @@ extern "C" { * Create a new instance of a digital port. */ HAL_DigitalHandle HAL_InitializeDIOPort(HAL_PortHandle port_handle, - int32_t input, int32_t* status) { + HAL_Bool input, int32_t* status) { initializeDigital(status); if (*status != 0) return HAL_kInvalidHandle;