Pinecilv2 adc v2 (#1916)
* Updated NTC lookup * remove float compute from adc (as we dont use it) * Updated adc settings * Updated ADC Init * Custom max temp lookup * Mask Timer around changing timer rate * Use timer channels in sane order * Update IRQ.cpp * Remove ADC dummy wait on start/stop * Dont use ADC IRQ * Disable sampling delay * Update Setup.cpp * PinecilV2 disable ROM driver utils Always use our source * Force settings upgrade on PinecilV2 Fix forced settings upgrade on Pinecilv2 * Prevent ADC rollover * Update Setup.cpp * ADC cleanup * Rollover prevention * Measure tip temperature 2nd * Rebase Buffalo SDK to 1.4.5 (#1923) * Update bl702_adc.c * Update board.c * . * Update bl702_adc.c * Import updated hal_drv * Remove accidental dupe of stack in linker * First pass update BLE stack * Update ReleaseNotes * Update push.yml * Drop BT Audio which we dont use * . * Reformat * Update conn.c * Update hog.c
This commit is contained in:
@@ -135,9 +135,9 @@ bool sanitiseSettings() {
|
||||
// For all settings, need to ensure settings are in a valid range
|
||||
// First for any not know about due to array growth, reset them and update the length value
|
||||
bool dirty = false;
|
||||
if (systemSettings.versionMarker != 0x55AA) {
|
||||
if (systemSettings.versionMarker != SETTINGSVERSION) {
|
||||
memset((void *)&systemSettings, 0xFF, sizeof(systemSettings));
|
||||
systemSettings.versionMarker = 0x55AA;
|
||||
systemSettings.versionMarker = SETTINGSVERSION;
|
||||
dirty = true;
|
||||
}
|
||||
if (systemSettings.padding != 0xFFFFFFFF) {
|
||||
|
||||
Reference in New Issue
Block a user