projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rewritten event system to remove all macros, to make user code clearer.
[pub/USBasp.git]
/
LUFA
/
Drivers
/
USB
/
LowLevel
/
LowLevel.c
diff --git
a/LUFA/Drivers/USB/LowLevel/LowLevel.c
b/LUFA/Drivers/USB/LowLevel/LowLevel.c
index
99b9cfb
..
346420f
100644
(file)
--- a/
LUFA/Drivers/USB/LowLevel/LowLevel.c
+++ b/
LUFA/Drivers/USB/LowLevel/LowLevel.c
@@
-92,7
+92,7
@@
void USB_Init(
}
\r
else
\r
{
\r
}
\r
else
\r
{
\r
-
RAISE_EVENT(USB_InitFailure,
USB_INITERROR_NoUSBModeSpecified);
\r
+
EVENT_USB_InitFailure(
USB_INITERROR_NoUSBModeSpecified);
\r
return;
\r
}
\r
#endif
\r
return;
\r
}
\r
#endif
\r
@@
-111,7
+111,7
@@
void USB_Init(
void USB_ShutDown(void)
\r
{
\r
if (USB_IsConnected)
\r
void USB_ShutDown(void)
\r
{
\r
if (USB_IsConnected)
\r
-
RAISE_EVENT(USB_Disconnect
);
\r
+
EVENT_USB_Disconnect(
);
\r
\r
USB_Detach();
\r
\r
\r
USB_Detach();
\r
\r