main: remove photon-specific defines, replaced with platform api
This commit is contained in:
parent
1d1c5781e2
commit
71a58b5f4d
10
src/main.cpp
10
src/main.cpp
@ -3,10 +3,7 @@
|
|||||||
#include <FastLED.h>
|
#include <FastLED.h>
|
||||||
#include <Figments.h>
|
#include <Figments.h>
|
||||||
|
|
||||||
#ifndef PLATFORM_PHOTON
|
|
||||||
#include <ArduinoLog.h>
|
#include <ArduinoLog.h>
|
||||||
#endif // !PLATFORM_PHOTON
|
|
||||||
|
|
||||||
#include "Platform.h"
|
#include "Platform.h"
|
||||||
|
|
||||||
#include "Static.h"
|
#include "Static.h"
|
||||||
@ -23,13 +20,6 @@
|
|||||||
#include "inputs/ColorCycle.h"
|
#include "inputs/ColorCycle.h"
|
||||||
#include "inputs/Buttons.h"
|
#include "inputs/Buttons.h"
|
||||||
|
|
||||||
#ifdef PLATFORM_PHOTON
|
|
||||||
#include "platform/particle/inputs/Photon.h"
|
|
||||||
#include "platform/particle/inputs/CloudStatus.h"
|
|
||||||
#endif // PLATFORM_PHOTON
|
|
||||||
|
|
||||||
//SerialLogHandler logHandler;
|
|
||||||
|
|
||||||
#define MAX_BRIGHTNESS 255
|
#define MAX_BRIGHTNESS 255
|
||||||
//#define PSU_MILLIAMPS 4800
|
//#define PSU_MILLIAMPS 4800
|
||||||
//#define PSU_MILLIAMPS 500
|
//#define PSU_MILLIAMPS 500
|
||||||
|
Loading…
Reference in New Issue
Block a user