diff options
Diffstat (limited to 'BuildTests/BoardDriverTest/Test.c')
-rw-r--r-- | BuildTests/BoardDriverTest/Test.c | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/BuildTests/BoardDriverTest/Test.c b/BuildTests/BoardDriverTest/Test.c index 5c878d2d1..c9f836eaa 100644 --- a/BuildTests/BoardDriverTest/Test.c +++ b/BuildTests/BoardDriverTest/Test.c @@ -29,6 +29,7 @@ */ #include <LUFA/Common/Common.h> +#include <LUFA/Drivers/Board/Board.h> #include <LUFA/Drivers/Board/Buttons.h> #include <LUFA/Drivers/Board/Dataflash.h> #include <LUFA/Drivers/Board/LEDs.h> @@ -37,18 +38,18 @@ int main(void) { uint_reg_t Dummy; - + /* ============================= * Buttons Compile Check - * ============================= */ + * ============================= */ Buttons_Init(); // cppcheck-suppress redundantAssignment Dummy = Buttons_GetStatus(); Buttons_Disable(); - + /* ============================= * Dataflash Compile Check - * ============================= */ + * ============================= */ Dataflash_Init(); Dataflash_TransferByte(0); Dataflash_SendByte(0); @@ -65,7 +66,7 @@ int main(void) /* ============================= * LEDs Compile Check - * ============================= */ + * ============================= */ LEDs_Init(); LEDs_TurnOnLEDs(LEDS_ALL_LEDS); LEDs_TurnOffLEDs(LEDS_ALL_LEDS); @@ -75,15 +76,15 @@ int main(void) // cppcheck-suppress redundantAssignment Dummy = LEDs_GetLEDs(); LEDs_Disable(); - + /* ============================= * Joystick Compile Check - * ============================= */ + * ============================= */ Joystick_Init(); // cppcheck-suppress redundantAssignment Dummy = Joystick_GetStatus(); Joystick_Disable(); - + (void)Dummy; } |