forked from mirror/qmk_firmware
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.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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)
|
||||
{
|
||||
|
||||
|
||||
@@ -352,6 +352,7 @@ static int CDC_Device_getchar_Blocking(FILE* Stream)
|
||||
}
|
||||
#endif
|
||||
|
||||
// cppcheck-suppress unusedFunction
|
||||
void CDC_Device_Event_Stub(void)
|
||||
{
|
||||
|
||||
|
||||
@@ -504,6 +504,7 @@ static int CDC_Host_getchar_Blocking(FILE* Stream)
|
||||
}
|
||||
#endif
|
||||
|
||||
// cppcheck-suppress unusedFunction
|
||||
void CDC_Host_Event_Stub(void)
|
||||
{
|
||||
|
||||
|
||||
@@ -32,6 +32,7 @@
|
||||
#define __INCLUDE_FROM_USB_DRIVER
|
||||
#include "Events.h"
|
||||
|
||||
// cppcheck-suppress unusedFunction
|
||||
void USB_Event_Stub(void)
|
||||
{
|
||||
|
||||
|
||||
Reference in New Issue
Block a user