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:
Dean Camera 2012-03-25 12:12:08 +00:00
parent 0424bd4dbc
commit 00b6b0140f
9 changed files with 29 additions and 14 deletions

View file

@ -395,17 +395,6 @@ int write_usb_device(HANDLE h, void *buf, int len, int timeout)
return 1;
}
void print_win32_err(void)
{
char buf[256];
DWORD err;
err = GetLastError();
FormatMessage(FORMAT_MESSAGE_FROM_SYSTEM, NULL, err,
0, buf, sizeof(buf), NULL);
printf("err %ld: %s\n", err, buf);
}
static HANDLE win32_teensy_handle = NULL;
int teensy_open(void)