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
index f2789c4..ad26d77 100644 (file)
@@ -63,7 +63,7 @@ SideShow_Application_t* SideShow_GetApplicationFromGUID(GUID_t* GUID)
        {\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