Revert "[BugFix] Enums are only 2 bytes on some Devices"

This reverts commit 4ec34f6986.

Reason for revert:
 -fshort-enums makes them smaller if the explicitrly enumerated values will fit in a smaller type

Change-Id: I834dfd2b2039eda91bc02c9cf95a0f9dfc5783f6
This commit is contained in:
William Wilgus 2024-11-24 11:38:16 -05:00 committed by Gerrit Rockbox
parent 4ec34f6986
commit 1fddea5e8e
18 changed files with 165 additions and 168 deletions

View file

@ -102,12 +102,10 @@ enum codec_command_action {
#ifdef HAVE_RECORDING
CODEC_ACTION_STREAM_FINISH = 2,
#endif
CODEC_ACTION_MIN = LONG_MIN,
CODEC_ACTION_MAX = LONG_MAX,
};
#define CODEC_ACTION_MIN (LONG_MIN)
#define CODEC_ACTION_MAX = (LONG_MAX)
/* NOTE: To support backwards compatibility, only add new functions at
the end of the structure. Every time you add a new function,
remember to increase CODEC_API_VERSION. If you make changes to the