Merge pull request #342 from theAlexes/theAlexes/nanosec-profile-bug

delete stray line of code that messed with correction profile
This commit is contained in:
Wesley Aptekar-Cassels 2024-01-09 17:46:48 -05:00 committed by GitHub
commit bf8c1b5dae
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -245,7 +245,6 @@ static void value_increase(int16_t delta) {
nanosec_state.correction_cadence = (delta > 0) ? 1 : 20;
break;
}
nanosec_state.correction_profile = (nanosec_state.correction_profile + delta) % nanosec_profile_count;
break;
case 6: // Aging
nanosec_state.aging_ppm_pa += delta;