mirror of
https://github.com/pmarchini/Esp32Dimmer.git
synced 2025-10-30 10:54:02 +03:00
minor refactoring
This commit is contained in:
@@ -13,6 +13,8 @@
|
||||
|
||||
#include "esp32idfDimmer.h"
|
||||
|
||||
static const char *TAG = "Esp32idfDimmer";
|
||||
|
||||
int pulseWidth = 2;
|
||||
volatile int current_dim = 0;
|
||||
int all_dim = 3;
|
||||
@@ -26,8 +28,6 @@ static int toggleReload = 25;
|
||||
volatile bool _initDone = false;
|
||||
volatile int _steps = 0;
|
||||
|
||||
#define STEPS _steps
|
||||
|
||||
|
||||
static dimmertyp *dimmer[ALL_DIMMERS];
|
||||
volatile bool firstSetup = false;
|
||||
|
||||
@@ -19,8 +19,6 @@
|
||||
#include "math.h"
|
||||
#include "esp_log.h"
|
||||
|
||||
static const char *TAG = "Esp32idfDimmer";
|
||||
|
||||
#define ALL_DIMMERS 50
|
||||
|
||||
/*ISR debug defines*/
|
||||
|
||||
Reference in New Issue
Block a user