Codechange: rename byte to uint8_t (#12308)

This commit is contained in:
Patric Stout
2024-03-16 23:59:32 +01:00
committed by GitHub
parent bd7120bae4
commit a3cfd23cf9
355 changed files with 1654 additions and 1656 deletions

View File

@@ -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();