mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-08-22 17:57:26 +00:00
Change set_correction_ppb argument to const.
This commit is contained in:
@@ -64,7 +64,7 @@ ppb_t correction_ppb() {
|
||||
return data->correction_ppb;
|
||||
}
|
||||
|
||||
void set_correction_ppb(ppb_t new_value) {
|
||||
void set_correction_ppb(const ppb_t new_value) {
|
||||
data->correction_ppb = ppb_range.clip(new_value);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user