projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added incomplete PrinterHost demo application.
[pub/USBasp.git]
/
Demos
/
Host
/
Incomplete
/
BluetoothHost
/
BluetoothHost.c
diff --git
a/Demos/Host/Incomplete/BluetoothHost/BluetoothHost.c
b/Demos/Host/Incomplete/BluetoothHost/BluetoothHost.c
index
1aaa814
..
b8e87cb
100644
(file)
--- a/
Demos/Host/Incomplete/BluetoothHost/BluetoothHost.c
+++ b/
Demos/Host/Incomplete/BluetoothHost/BluetoothHost.c
@@
-50,7
+50,6
@@
int main(void)
\r
LEDs_SetAllLEDs(LEDMASK_USB_NOTREADY);
\r
\r
\r
LEDs_SetAllLEDs(LEDMASK_USB_NOTREADY);
\r
\r
- /* Startup message */
\r
puts_P(PSTR(ESC_RESET ESC_BG_WHITE ESC_INVERSE_ON ESC_ERASE_DISPLAY
\r
"Bluetooth Host Demo running.\r\n" ESC_INVERSE_OFF));
\r
\r
puts_P(PSTR(ESC_RESET ESC_BG_WHITE ESC_INVERSE_ON ESC_ERASE_DISPLAY
\r
"Bluetooth Host Demo running.\r\n" ESC_INVERSE_OFF));
\r
\r
@@
-111,6
+110,7
@@
void EVENT_USB_DeviceEnumerationFailed(uint8_t ErrorCode, uint8_t SubErrorCode)
{
\r
puts_P(PSTR(ESC_BG_RED "Dev Enum Error\r\n"));
\r
printf_P(PSTR(" -- Error Code %d\r\n"), ErrorCode);
\r
{
\r
puts_P(PSTR(ESC_BG_RED "Dev Enum Error\r\n"));
\r
printf_P(PSTR(" -- Error Code %d\r\n"), ErrorCode);
\r
+ printf_P(PSTR(" -- Sub Error Code %d\r\n"), SubErrorCode);
\r
printf_P(PSTR(" -- In State %d\r\n"), USB_HostState);
\r
\r
LEDs_SetAllLEDs(LEDMASK_USB_ERROR);
\r
printf_P(PSTR(" -- In State %d\r\n"), USB_HostState);
\r
\r
LEDs_SetAllLEDs(LEDMASK_USB_ERROR);
\r