projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix redefinition warning when USB_DEVICE_ONLY is set on an AVR which does not support...
[pub/USBasp.git]
/
Demos
/
Device
/
Incomplete
/
Sideshow
/
Lib
/
SideshowApplications.c
diff --git
a/Demos/Device/Incomplete/Sideshow/Lib/SideshowApplications.c
b/Demos/Device/Incomplete/Sideshow/Lib/SideshowApplications.c
index
f2789c4
..
ad26d77
100644
(file)
--- a/
Demos/Device/Incomplete/Sideshow/Lib/SideshowApplications.c
+++ b/
Demos/Device/Incomplete/Sideshow/Lib/SideshowApplications.c
@@
-63,7
+63,7
@@
SideShow_Application_t* SideShow_GetApplicationFromGUID(GUID_t* GUID)
{
\r
if (InstalledApplications[App].InUse)
\r
{
\r
{
\r
if (InstalledApplications[App].InUse)
\r
{
\r
- if (
memcmp(&InstalledApplications[App].ApplicationID, GUID, sizeof(GUID_t)) == 0
)
\r
+ if (
GUID_COMPARE(&InstalledApplications[App].ApplicationID, GUID)
)
\r
return &InstalledApplications[App];
\r
}
\r
}
\r
return &InstalledApplications[App];
\r
}
\r
}
\r