From 6cf9916a6e762b8f59c0649ebced55a6ae47ea4c Mon Sep 17 00:00:00 2001 From: Ivan Zorin Date: Mon, 23 Dec 2024 22:37:49 +0300 Subject: [PATCH] Revert formatting for the unmodified file --- source/Core/BSP/Miniware/BSP.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/Core/BSP/Miniware/BSP.cpp b/source/Core/BSP/Miniware/BSP.cpp index 532dfb1f..615e93d3 100644 --- a/source/Core/BSP/Miniware/BSP.cpp +++ b/source/Core/BSP/Miniware/BSP.cpp @@ -389,6 +389,7 @@ uint8_t getTipResistanceX10() { } return user_selected_tip; #else + uint8_t user_selected_tip = getUserSelectedTipResistance(); if (user_selected_tip == 0) { return TIP_RESISTANCE; // Auto mode @@ -396,7 +397,6 @@ uint8_t getTipResistanceX10() { return user_selected_tip; #endif } - #ifdef TIP_RESISTANCE_SENSE_Pin bool isTipShorted() { return tipShorted; } #else