fix(cpn): Pot and slider post ADC refactor fixes (#3731)
* Semantic version housekeeping * Fix pots and sliders center beep and warnings yaml for adc refactor * Fix sliders and pots mapping * Fix 6POS libsimu * Fix trims * Updated 6POS calculation thanks to philmoz * Fix version adc implemented --------- Co-authored-by: 3djc <lesitewebdejc@hotmail.com>
This commit is contained in:
@@ -479,7 +479,7 @@ uint32_t readTrims()
|
||||
{
|
||||
uint32_t result = 0;
|
||||
|
||||
for (int i = 0; i < MAX_TRIMS; i++) {
|
||||
for (int i = 0; i < MAX_TRIMS * 2; i++) {
|
||||
if (trimsStates[i]) {
|
||||
// TRACE("trim pressed %d", i);
|
||||
result |= 1 << i;
|
||||
|
||||
Reference in New Issue
Block a user