Codechange: rename byte to uint8_t (#12308)
This commit is contained in:
@@ -37,7 +37,7 @@ static MusicPlayer _player = nullptr;
|
||||
static MusicSequence _sequence = nullptr;
|
||||
static MusicTimeStamp _seq_length = 0;
|
||||
static bool _playing = false;
|
||||
static byte _volume = 127;
|
||||
static uint8_t _volume = 127;
|
||||
|
||||
|
||||
/** Set the volume of the current sequence. */
|
||||
@@ -193,7 +193,7 @@ void MusicDriver_Cocoa::StopSong()
|
||||
*
|
||||
* @param vol The desired volume, range of the value is @c 0-127
|
||||
*/
|
||||
void MusicDriver_Cocoa::SetVolume(byte vol)
|
||||
void MusicDriver_Cocoa::SetVolume(uint8_t vol)
|
||||
{
|
||||
_volume = vol;
|
||||
DoSetVolume();
|
||||
|
||||
Reference in New Issue
Block a user