aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2012-03-25 12:12:08 +0000
committerDean Camera <dean@fourwalledcubicle.com>2012-03-25 12:12:08 +0000
commit00b6b0140fa76845edaa894e0feb3287e4977c73 (patch)
treedb1f24ab756c218a75f0b6049b0267ca9fea7489 /LUFA
parent0424bd4dbc8a6a22310e4081d2d5dc852a92ea4c (diff)
downloadlufa-00b6b0140fa76845edaa894e0feb3287e4977c73.tar.gz
lufa-00b6b0140fa76845edaa894e0feb3287e4977c73.tar.bz2
lufa-00b6b0140fa76845edaa894e0feb3287e4977c73.zip
Re-enable cppcheck static analysis unused function checks after adding in special-case suppressions to the event stub functions. Add missing function prototypes to the AudioInput and AudioOutput class driver device demos.
Diffstat (limited to 'LUFA')
-rw-r--r--LUFA/DoxygenPages/LUFAPoweredProjects.txt1
-rw-r--r--LUFA/Drivers/USB/Class/Device/AudioClassDevice.c1
-rw-r--r--LUFA/Drivers/USB/Class/Device/CDCClassDevice.c1
-rw-r--r--LUFA/Drivers/USB/Class/Host/CDCClassHost.c1
-rw-r--r--LUFA/Drivers/USB/Core/Events.c1
5 files changed, 4 insertions, 1 deletions
diff --git a/LUFA/DoxygenPages/LUFAPoweredProjects.txt b/LUFA/DoxygenPages/LUFAPoweredProjects.txt
index be5465081..fea7debb4 100644
--- a/LUFA/DoxygenPages/LUFAPoweredProjects.txt
+++ b/LUFA/DoxygenPages/LUFAPoweredProjects.txt
@@ -36,7 +36,6 @@
* The following are known hobbyist projects using LUFA. Most are open source, and show off interesting ways that the LUFA library
* can be incorporated into many different applications.
*
- * - Accelerometer Game Joystick: http://www.crictor.co.il/he/episodes/joystick/
* - Arcade Controller: http://fletchtronics.net/arcade-controller-made-petunia
* - Arcade Joystick: http://jamie.lentin.co.uk/embedded/arcade-joystick/
* - AttoBasic AVR BASIC interpreter: http://www.cappels.org/dproj/AttoBasic2_1/AttoBasic_2.1_with_USB_and_Arduino_support.html
diff --git a/LUFA/Drivers/USB/Class/Device/AudioClassDevice.c b/LUFA/Drivers/USB/Class/Device/AudioClassDevice.c
index 7a1f4b206..15fcd588d 100644
--- a/LUFA/Drivers/USB/Class/Device/AudioClassDevice.c
+++ b/LUFA/Drivers/USB/Class/Device/AudioClassDevice.c
@@ -211,6 +211,7 @@ bool Audio_Device_ConfigureEndpoints(USB_ClassInfo_Audio_Device_t* const AudioIn
return true;
}
+// cppcheck-suppress unusedFunction
void Audio_Device_Event_Stub(void)
{
diff --git a/LUFA/Drivers/USB/Class/Device/CDCClassDevice.c b/LUFA/Drivers/USB/Class/Device/CDCClassDevice.c
index f0ddfcd96..5b5343860 100644
--- a/LUFA/Drivers/USB/Class/Device/CDCClassDevice.c
+++ b/LUFA/Drivers/USB/Class/Device/CDCClassDevice.c
@@ -352,6 +352,7 @@ static int CDC_Device_getchar_Blocking(FILE* Stream)
}
#endif
+// cppcheck-suppress unusedFunction
void CDC_Device_Event_Stub(void)
{
diff --git a/LUFA/Drivers/USB/Class/Host/CDCClassHost.c b/LUFA/Drivers/USB/Class/Host/CDCClassHost.c
index e1a972f39..63df6b0c5 100644
--- a/LUFA/Drivers/USB/Class/Host/CDCClassHost.c
+++ b/LUFA/Drivers/USB/Class/Host/CDCClassHost.c
@@ -504,6 +504,7 @@ static int CDC_Host_getchar_Blocking(FILE* Stream)
}
#endif
+// cppcheck-suppress unusedFunction
void CDC_Host_Event_Stub(void)
{
diff --git a/LUFA/Drivers/USB/Core/Events.c b/LUFA/Drivers/USB/Core/Events.c
index 5733aa838..227156548 100644
--- a/LUFA/Drivers/USB/Core/Events.c
+++ b/LUFA/Drivers/USB/Core/Events.c
@@ -32,6 +32,7 @@
#define __INCLUDE_FROM_USB_DRIVER
#include "Events.h"
+// cppcheck-suppress unusedFunction
void USB_Event_Stub(void)
{