projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Allow the title of top level pages to be overridden in the Atmel Studio help.
[pub/USBasp.git]
/
BuildTests
/
BoardDriverTest
/
Test.c
diff --git
a/BuildTests/BoardDriverTest/Test.c
b/BuildTests/BoardDriverTest/Test.c
index
6d7d4d1
..
c9f836e
100644
(file)
--- a/
BuildTests/BoardDriverTest/Test.c
+++ b/
BuildTests/BoardDriverTest/Test.c
@@
-1,13
+1,13
@@
/*
LUFA Library
/*
LUFA Library
- Copyright (C) Dean Camera, 201
2
.
+ Copyright (C) Dean Camera, 201
3
.
dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org
*/
/*
dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org
*/
/*
- Copyright 201
2
Dean Camera (dean [at] fourwalledcubicle [dot] com)
+ Copyright 201
3
Dean Camera (dean [at] fourwalledcubicle [dot] com)
Permission to use, copy, modify, distribute, and sell this
software and its documentation for any purpose is hereby granted
Permission to use, copy, modify, distribute, and sell this
software and its documentation for any purpose is hereby granted
@@
-29,6
+29,7
@@
*/
#include <LUFA/Common/Common.h>
*/
#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>
#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;
int main(void)
{
uint_reg_t Dummy;
-
+
/* =============================
* Buttons Compile Check
/* =============================
* Buttons Compile Check
- * ============================= */
+ * ============================= */
Buttons_Init();
// cppcheck-suppress redundantAssignment
Dummy = Buttons_GetStatus();
Buttons_Disable();
Buttons_Init();
// cppcheck-suppress redundantAssignment
Dummy = Buttons_GetStatus();
Buttons_Disable();
-
+
/* =============================
* Dataflash Compile Check
/* =============================
* Dataflash Compile Check
- * ============================= */
+ * ============================= */
Dataflash_Init();
Dataflash_TransferByte(0);
Dataflash_SendByte(0);
Dataflash_Init();
Dataflash_TransferByte(0);
Dataflash_SendByte(0);
@@
-65,7
+66,7
@@
int main(void)
/* =============================
* LEDs Compile Check
/* =============================
* LEDs Compile Check
- * ============================= */
+ * ============================= */
LEDs_Init();
LEDs_TurnOnLEDs(LEDS_ALL_LEDS);
LEDs_TurnOffLEDs(LEDS_ALL_LEDS);
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();
// cppcheck-suppress redundantAssignment
Dummy = LEDs_GetLEDs();
LEDs_Disable();
-
+
/* =============================
* Joystick Compile Check
/* =============================
* Joystick Compile Check
- * ============================= */
+ * ============================= */
Joystick_Init();
// cppcheck-suppress redundantAssignment
Dummy = Joystick_GetStatus();
Joystick_Disable();
Joystick_Init();
// cppcheck-suppress redundantAssignment
Dummy = Joystick_GetStatus();
Joystick_Disable();
-
+
(void)Dummy;
}
(void)Dummy;
}