Skip to content

Commit b54bce8

Browse files
authored
Merge pull request #57 from limpkin/dev
uint16_t for fixed rectangle effect, ir_led: remove unnecessary logs
2 parents 8f75a81 + bb025a3 commit b54bce8

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

src/MoonLight/Nodes/Drivers/D_Infrared.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ class IRDriver : public Node {
223223
nec_parse_frame_repeat(rmt_nec_symbols);
224224
nec_repeat = true;
225225
} else {
226-
EXT_LOGI(IR_DRIVER_TAG, "Unknown NEC frame");
226+
//EXT_LOGI(IR_DRIVER_TAG, "Unknown NEC frame");
227227
return;
228228
}
229229

src/MoonLight/Nodes/Effects/E_MoonLight.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -49,12 +49,12 @@ class FixedRectangleEffect : public Node {
4949
uint8_t green = 15;
5050
uint8_t blue = 98;
5151
uint8_t white = 0;
52-
uint8_t width = 1;
53-
uint8_t x = 0;
54-
uint8_t height = 1;
55-
uint8_t y = 0;
56-
uint8_t depth = 1;
57-
uint8_t z = 0;
52+
uint16_t width = 1;
53+
uint16_t x = 0;
54+
uint16_t height = 1;
55+
uint16_t y = 0;
56+
uint16_t depth = 1;
57+
uint16_t z = 0;
5858
bool alternateWhite = false; // to be used for frontlight
5959

6060
void setup() override {

0 commit comments

Comments
 (0)