From 98994e393a44c8aa61150ec26d028dbedeaa2686 Mon Sep 17 00:00:00 2001 From: Peter Jakobs Date: Thu, 31 Oct 2024 10:15:26 +0100 Subject: [PATCH] fixed coding style --- Sming/Arch/Esp32/Core/HardwarePWM.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Sming/Arch/Esp32/Core/HardwarePWM.cpp b/Sming/Arch/Esp32/Core/HardwarePWM.cpp index d8a7a91986..0b1a74f583 100644 --- a/Sming/Arch/Esp32/Core/HardwarePWM.cpp +++ b/Sming/Arch/Esp32/Core/HardwarePWM.cpp @@ -140,8 +140,8 @@ uint32_t maxDuty(ledc_timer_bit_t bits) HardwarePWM::HardwarePWM(uint8_t* pins, uint8_t no_of_pins) : channel_count(no_of_pins) { - assert(no_of_pins > 0 && no_of_pins <= SOC_LEDC_CHANNEL_NUM); - no_of_pins = std::min(uint8_t(SOC_LEDC_CHANNEL_NUM), no_of_pins); + assert(no_of_pins > 0 && no_of_pins <= SOC_LEDC_CHANNEL_NUM); + no_of_pins = std::min(uint8_t(SOC_LEDC_CHANNEL_NUM), no_of_pins); periph_module_enable(PERIPH_LEDC_MODULE);