projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make USE_INTERNAL_SERIAL configureable as makefile define
[pub/USBasp.git]
/
LUFA
/
Drivers
/
Board
/
Buttons.h
diff --git
a/LUFA/Drivers/Board/Buttons.h
b/LUFA/Drivers/Board/Buttons.h
index
75d5ec3
..
dde4714
100644
(file)
--- a/
LUFA/Drivers/Board/Buttons.h
+++ b/
LUFA/Drivers/Board/Buttons.h
@@
-1,13
+1,13
@@
/*
LUFA Library
/*
LUFA Library
- Copyright (C) Dean Camera, 201
3
.
+ Copyright (C) Dean Camera, 201
8
.
dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org
*/
/*
dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org
*/
/*
- Copyright 201
3
Dean Camera (dean [at] fourwalledcubicle [dot] com)
+ Copyright 201
8
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
@@
-93,8
+93,9
@@
#if (BOARD == BOARD_NONE)
#define BUTTONS_BUTTON1 0
#if (BOARD == BOARD_NONE)
#define BUTTONS_BUTTON1 0
- static inline void Buttons_Init(void) {};
- static inline uint_reg_t Buttons_GetStatus(void) { return 0; };
+ static inline void Buttons_Init(void) {}
+ static inline void Buttons_Disable(void) {}
+ static inline uint_reg_t Buttons_GetStatus(void) { return 0; }
#elif (BOARD == BOARD_USBKEY)
#include "AVR8/USBKEY/Buttons.h"
#elif (BOARD == BOARD_STK525)
#elif (BOARD == BOARD_USBKEY)
#include "AVR8/USBKEY/Buttons.h"
#elif (BOARD == BOARD_STK525)
@@
-157,6
+158,8
@@
#include "AVR8/STANGE_ISP/Buttons.h"
#elif (BOARD == BOARD_C3_XPLAINED)
#include "XMEGA/C3_XPLAINED/Buttons.h"
#include "AVR8/STANGE_ISP/Buttons.h"
#elif (BOARD == BOARD_C3_XPLAINED)
#include "XMEGA/C3_XPLAINED/Buttons.h"
+ #elif (BOARD == BOARD_U2S)
+ #include "AVR8/U2S/Buttons.h"
#else
#include "Board/Buttons.h"
#endif
#else
#include "Board/Buttons.h"
#endif