From f49281f1249fb09a8ea9d95b0b4d895f7977143e Mon Sep 17 00:00:00 2001 From: Peter Jakobs Date: Thu, 31 Oct 2024 10:54:17 +0100 Subject: [PATCH] re-orderd things in pwm.h --- .../Components/driver/include/driver/pwm.h | 25 +++++++++---------- 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/Sming/Arch/Esp32/Components/driver/include/driver/pwm.h b/Sming/Arch/Esp32/Components/driver/include/driver/pwm.h index eecac50105..51e279528d 100644 --- a/Sming/Arch/Esp32/Components/driver/include/driver/pwm.h +++ b/Sming/Arch/Esp32/Components/driver/include/driver/pwm.h @@ -1,16 +1,15 @@ -/**** - * Sming Framework Project - Open Source framework for high efficiency native ESP8266 development. - * Created 2015 by Skurydin Alexey - * http://github.com/SmingHub/Sming - * All files of the Sming Core are provided under the LGPL v3 license. - * - * pwm.h - * - ****/ +/**** + * Sming Framework Project - Open Source framework for high efficiency native ESP8266 development. + * Created 2015 by Skurydin Alexey + * http://github.com/SmingHub/Sming + * All files of the Sming Core are provided under the LGPL v3 license. + * + * pwm.h + * + ****/ -#include +#pragma once +#include -#pragma once - -#define PWM_CHANNEL_NUM_MAX SOC_LEDC_CHANNEL_NUM +#define PWM_CHANNEL_NUM_MAX SOC_LEDC_CHANNEL_NUM \ No newline at end of file