Cleanup of stuff.

This commit is contained in:
Fabian Schlenz 2021-01-10 16:34:06 +01:00
parent cc3bcb0370
commit a55e5e1ec2
2 changed files with 3 additions and 2 deletions

View File

@ -12,7 +12,9 @@
platform = espressif8266 platform = espressif8266
board = d1_mini board = d1_mini
framework = arduino framework = arduino
upload_port = /dev/cu.wchusbserial* ;upload_port = /dev/cu.wchusbserial*
upload_protocol = espota
upload_port = espleaf-prod.local
upload_speed = 921600 upload_speed = 921600
monitor_port = /dev/cu.wchusbserial* monitor_port = /dev/cu.wchusbserial*
monitor_speed = 74880 monitor_speed = 74880

View File

@ -49,7 +49,6 @@ Node* Node::create_neighbour(uint8_t edge) {
} }
void Node::blend_to(CRGB color, uint16_t effect_id, uint8_t effect_speed) { void Node::blend_to(CRGB color, uint16_t effect_id, uint8_t effect_speed) {
//LOGln("Node::blend_to called. this:%p", this);
if (effect_speed == 0) effect_speed = random8(2)+1; if (effect_speed == 0) effect_speed = random8(2)+1;
if (effect_id == 0) effect_id = random16(); if (effect_id == 0) effect_id = random16();
for(Corner* corner : this->_corners) { for(Corner* corner : this->_corners) {