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

@@ -69,7 +69,7 @@ bool MusicDriver_BeMidi::IsSongPlaying()
return !this->midi_synth_file->IsFinished();
}
void MusicDriver_BeMidi::SetVolume(byte vol)
void MusicDriver_BeMidi::SetVolume(uint8_t vol)
{
this->current_volume = vol / 128.0;
if (this->midi_synth_file != nullptr) this->midi_synth_file->SetVolume(this->current_volume);