mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-05-25 01:41:28 -04:00
Touch: Migrate touch calibration to persistent memory.
This commit is contained in:
parent
aa1b8f63fc
commit
c424bf08f3
5 changed files with 34 additions and 22 deletions
|
@ -25,6 +25,7 @@
|
|||
#include <cstdint>
|
||||
|
||||
#include "rf_path.hpp"
|
||||
#include "touch.hpp"
|
||||
|
||||
namespace portapack {
|
||||
namespace persistent_memory {
|
||||
|
@ -37,6 +38,9 @@ void set_tuned_frequency(const rf::Frequency new_value);
|
|||
ppb_t correction_ppb();
|
||||
void set_correction_ppb(const ppb_t new_value);
|
||||
|
||||
void set_touch_calibration(const touch::Calibration& new_value);
|
||||
const touch::Calibration& touch_calibration();
|
||||
|
||||
} /* namespace persistent_memory */
|
||||
} /* namespace portapack */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue