Touch: Migrate touch calibration to persistent memory.

This commit is contained in:
Jared Boone 2016-07-27 15:30:43 -07:00
parent aa1b8f63fc
commit c424bf08f3
5 changed files with 34 additions and 22 deletions

View file

@ -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 */