libeplayer3-arm: cleanup types, use Context_t in commands

This commit is contained in:
max_10
2018-03-07 23:59:23 +01:00
committed by Thilo Graf
parent 71905680a6
commit cb275626b1
32 changed files with 195 additions and 183 deletions

View File

@@ -69,7 +69,7 @@ if (debug_level >= level) printf(x); } while (0)
static Track_t *Tracks = NULL;
static int TrackCount = 0;
static int CurrentTrack = -1; //no as default.
static int CurrentTrack = -1; //no as default.
/* ***************************** */
/* Prototypes */
@@ -256,7 +256,7 @@ static int Command(Context_t *context, ManagerCmd_t command, void *argument)
{
if ((TrackCount > 0) && (CurrentTrack >= 0))
{
*((Track_t **)argument) = (Track_t *) &Tracks[CurrentTrack];
*((Track_t **)argument) = (Track_t *) & Tracks[CurrentTrack];
}
else
{