From df5500e81cc40633eb5edee59410030f0aa77c2d Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Thu, 13 Aug 2009 06:43:17 +0000 Subject: Added CDC_Device_Flush() command to the CDC Device mode class driver. Minor updates to the unfinished SideShow demo for clarity. Added unfinished MassStorageHost class driver demo. --- Demos/Device/Incomplete/Sideshow/Lib/SideshowApplications.c | 13 ------------- 1 file changed, 13 deletions(-) (limited to '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++) -- cgit v1.2.3