mirror of
https://github.com/eried/portapack-mayhem.git
synced 2024-12-24 23:09:26 -05:00
Change set_correction_ppb argument to const.
This commit is contained in:
parent
45d26abf10
commit
11c786c4fb
@ -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);
|
||||
}
|
||||
|
||||
|
@ -30,7 +30,7 @@ namespace persistent_memory {
|
||||
using ppb_t = int32_t;
|
||||
|
||||
ppb_t correction_ppb();
|
||||
void set_correction_ppb(ppb_t new_value);
|
||||
void set_correction_ppb(const ppb_t new_value);
|
||||
|
||||
} /* namespace persistent_memory */
|
||||
} /* namespace portapack */
|
||||
|
Loading…
Reference in New Issue
Block a user