X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/bf50959b8016adbf6b295178b26b8173514dd060..cf22a744ec0da3b68c4ffdb14c6fa43f2e07542f:/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 ad26d77b5..4f27c3336 100644 --- a/Demos/Device/Incomplete/Sideshow/Lib/SideshowApplications.c +++ b/Demos/Device/Incomplete/Sideshow/Lib/SideshowApplications.c @@ -33,19 +33,6 @@ SideShow_Application_t InstalledApplications[MAX_APPLICATIONS]; -uint8_t SideShow_GetTotalApplications(void) -{ - uint8_t TotalInstalledApps = 0; - - for (uint8_t App = 0; App < ARRAY_ELEMENTS(InstalledApplications); App++) - { - if (InstalledApplications[App].InUse) - TotalInstalledApps++; - } - - return TotalInstalledApps; -} - SideShow_Application_t* SideShow_GetFreeApplication(void) { for (uint8_t App = 0; App < ARRAY_ELEMENTS(InstalledApplications); App++)