diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2009-07-20 14:51:19 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2009-07-20 14:51:19 +0000 |
commit | bf50959b8016adbf6b295178b26b8173514dd060 (patch) | |
tree | b445d0186a5c3b5f148a398d23247e7a70a1a1c0 /Demos/Device/Incomplete/Sideshow/Lib/SideshowApplications.c | |
parent | 86819ba9d8e30e7eeefd79ece41094a42e521d78 (diff) | |
download | lufa-bf50959b8016adbf6b295178b26b8173514dd060.tar.gz lufa-bf50959b8016adbf6b295178b26b8173514dd060.tar.bz2 lufa-bf50959b8016adbf6b295178b26b8173514dd060.zip |
Simplify SideShow GUID compares via a macro.
Diffstat (limited to 'Demos/Device/Incomplete/Sideshow/Lib/SideshowApplications.c')
-rw-r--r-- | Demos/Device/Incomplete/Sideshow/Lib/SideshowApplications.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Demos/Device/Incomplete/Sideshow/Lib/SideshowApplications.c b/Demos/Device/Incomplete/Sideshow/Lib/SideshowApplications.c index f2789c4a7..ad26d77b5 100644 --- 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) {
if (InstalledApplications[App].InUse)
{
- if (memcmp(&InstalledApplications[App].ApplicationID, GUID, sizeof(GUID_t)) == 0)
+ if (GUID_COMPARE(&InstalledApplications[App].ApplicationID, GUID))
return &InstalledApplications[App];
}
}
|