Removed double-include of fdrs_gateway_config.h

fdrs_gateway_config. h was included twice. I also simplified th USE_LED configuration block (was defined twice, could be done in one block.
This commit is contained in:
Sascha 2022-07-15 10:02:17 +02:00
parent 454365d453
commit dbf6d5b082

View File

@ -6,16 +6,12 @@
//
#include "fdrs_gateway_config.h"
#include "fdrs_gateway.h"
#ifdef USE_LED
#include <FastLED.h>
#endif
#include "fdrs_gateway.h"
#include "fdrs_gateway_config.h"
#ifdef USE_LED
CRGB leds[NUM_LEDS];
#endif
#endif //USE_LED
uint8_t selfAddress[6] = {MAC_PREFIX, UNIT_MAC};