Removed unneeded statics

This commit is contained in:
ZodiusInfuser 2021-08-19 14:22:43 +01:00
parent 8e763f5efe
commit 3d34d70722
1 changed files with 11 additions and 11 deletions

View File

@ -6,21 +6,21 @@
namespace plasma {
namespace plasma2040 {
static const uint LED_R = 16;
static const uint LED_G = 17;
static const uint LED_B = 18;
const uint LED_R = 16;
const uint LED_G = 17;
const uint LED_B = 18;
static const uint BUTTON_A = 12;
static const uint BUTTON_B = 13;
const uint BUTTON_A = 12;
const uint BUTTON_B = 13;
static const uint USER_SW = 23;
const uint USER_SW = 23;
static const uint CLK = 14; // Used only for APA102
static const uint DAT = 15; // Used for both APA102 and WS2812
const uint CLK = 14; // Used only for APA102
const uint DAT = 15; // Used for both APA102 and WS2812
static const uint SENSE = 29; // The pin used for current sensing
const uint SENSE = 29; // The pin used for current sensing
static constexpr float ADC_GAIN = 50;
static constexpr float SHUNT_RESISTOR = 0.015f;
constexpr float ADC_GAIN = 50;
constexpr float SHUNT_RESISTOR = 0.015f;
}
}