From 8cf2533b6e8db56b96a8657ad968831ddae5a328 Mon Sep 17 00:00:00 2001 From: Egor Shitikov Date: Wed, 14 Aug 2024 18:11:48 -0700 Subject: [PATCH] remove unused code --- src/main.cpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index ec3e5cc..6e31431 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -662,13 +662,6 @@ void loop(void) { if ((result[y + 1] != 0) || (result[y - 1] != 0)) { - // Filling the empty pixel between signals int the level < - // 27 (noise level) - /* if (y < 27 && result[y + 1] == 0 && result[y + 2] > 0) - { - result[y + 1] = 1; - filtered_result[y + 1] = 1; - }*/ filtered_result[y] = 1; } }