From 30755d7dee2b2b0c8d5378c0dd7141786f63e385 Mon Sep 17 00:00:00 2001 From: cfif Date: Fri, 29 May 2026 16:13:17 +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 8f084d2..89904b1 100644 --- a/dig_pot.c +++ b/dig_pot.c @@ -116,7 +116,7 @@ static const uint32_t pot_10k[256] = { }; -#define R_CORRECTION 120 // вычитаемая поправка (Ом) +#define R_CORRECTION 100 // вычитаемая поправка (Ом) uint32_t find_steps_for_resistance(uint32_t target_ohm, uint8_t *step_100k, uint8_t *step_10k) { uint32_t best_r = 0;