Start linking in manual tip resistance

This commit is contained in:
Ben V. Brown
2024-09-09 20:32:35 +10:00
parent 59630d5abd
commit b27fd634e6
9 changed files with 94 additions and 12 deletions

View File

@@ -262,7 +262,11 @@ uint8_t getTipResistanceX10() {
return TIP_RESISTANCE + ((TIP_RESISTANCE * scaler) / 100000);
#else
return TIP_RESISTANCE;
uint8_t user_selected_tip = getUserSelectedTipResistance();
if (user_selected_tip == 0) {
return TIP_RESISTANCE; // Auto mode
}
return user_selected_tip;
#endif
}
bool isTipShorted() { return false; }