Update adalight.ino (#413)

fix 2 errors
This commit is contained in:
tpmodding 2017-03-06 19:46:51 +01:00 committed by redPanther
parent bfb9a08c80
commit f8b316285c
1 changed files with 2 additions and 2 deletions

View File

@ -157,13 +157,13 @@ void setup() {
#if INITIAL_LED_TEST_ENABLED == true #if INITIAL_LED_TEST_ENABLED == true
for (int v=0;v<INITIAL_LED_TEST_BRIGHTNESS;v++) for (int v=0;v<INITIAL_LED_TEST_BRIGHTNESS;v++)
{ {
showColor(CRGB(v,v,v); showColor(CRGB(v,v,v));
delay(INITIAL_LED_TEST_TIME_MS/2/INITIAL_LED_TEST_BRIGHTNESS); delay(INITIAL_LED_TEST_TIME_MS/2/INITIAL_LED_TEST_BRIGHTNESS);
} }
for (int v=0;v<INITIAL_LED_TEST_BRIGHTNESS;v++) for (int v=0;v<INITIAL_LED_TEST_BRIGHTNESS;v++)
{ {
showColor(CRGB(v,v,v); showColor(CRGB(v,v,v));
delay(INITIAL_LED_TEST_TIME_MS/2/INITIAL_LED_TEST_BRIGHTNESS); delay(INITIAL_LED_TEST_TIME_MS/2/INITIAL_LED_TEST_BRIGHTNESS);
} }
#endif #endif