Interleave updates to left and right hands.

This helps mitigate an issue where we send multiple updates to the same hand
fast enough that one of them fails to be read successfully
pull/18/merge
Jesse Vincent 8 years ago
parent de92bcc0de
commit f72ef245a4

@ -54,14 +54,17 @@ cRGB Model01::led_get_crgb_at(uint8_t i) {
} }
void Model01::led_sync() { void Model01::led_sync() {
rightHand.sendLEDData();
rightHand.sendLEDData();
rightHand.sendLEDData();
rightHand.sendLEDData();
leftHand.sendLEDData(); leftHand.sendLEDData();
rightHand.sendLEDData();
leftHand.sendLEDData(); leftHand.sendLEDData();
rightHand.sendLEDData();
leftHand.sendLEDData(); leftHand.sendLEDData();
rightHand.sendLEDData();
leftHand.sendLEDData(); leftHand.sendLEDData();
rightHand.sendLEDData();
} }

Loading…
Cancel
Save