This commit is contained in:
2024-06-01 17:11:54 +02:00
parent 7dbc829fe8
commit c9cdfbba32
3 changed files with 6 additions and 6 deletions

View File

@@ -31,7 +31,7 @@ struct XAPlayer {
}
void change_channel(int8_t step) {
this->channel = (this->channel + step)%MaxChannels;
this->channel = static_cast<uint8_t>((this->channel + step))%MaxChannels;
CDXA::set_channel(this->channel);
}