mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-07-27 16:56:15 -04:00
Change set_correction_ppb argument to const.
This commit is contained in:
parent
45d26abf10
commit
11c786c4fb
2 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue