From fd4b60bad57f56c774d45c829340fba856b9a2b5 Mon Sep 17 00:00:00 2001 From: cfif Date: Mon, 1 Jun 2026 10:11:45 +0300 Subject: [PATCH] Init --- dig_pot.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dig_pot.c b/dig_pot.c index 89904b1..ea6cabf 100644 --- a/dig_pot.c +++ b/dig_pot.c @@ -116,7 +116,7 @@ static const uint32_t pot_10k[256] = { }; -#define R_CORRECTION 100 // вычитаемая поправка (Ом) +#define R_CORRECTION 230 // вычитаемая поправка (Ом) uint32_t find_steps_for_resistance(uint32_t target_ohm, uint8_t *step_100k, uint8_t *step_10k) { uint32_t best_r = 0;