minor refactoring

This commit is contained in:
Pietro Marchini
2021-03-07 02:26:35 +01:00
parent 2d27cd2ece
commit d2a50e0f9f
2 changed files with 2 additions and 4 deletions

View File

@@ -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;

View File

@@ -19,8 +19,6 @@
#include "math.h"
#include "esp_log.h"
static const char *TAG = "Esp32idfDimmer";
#define ALL_DIMMERS 50
/*ISR debug defines*/