Skip to content

Commit fd75ece

Browse files
committed
confirmed code with rgb test
1 parent 6e759ca commit fd75ece

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/chargeTask.cpp

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,15 @@ void ChargeTask::init(void)
2424

2525
//referenced dataupload
2626
this->initSuccess = 1;
27+
//RGB connection test
2728
if (sf::cloud::wait_connect(SF_CELL_SIGNAL_TIMEOUT_MS))
2829
{
2930
this->initSuccess = 0;
31+
//this->ledStatus.setColor(RGB_COLOR_RED);
3032
}
31-
else if(sf::cloud::wait_connect(SF_CELL_SIGNAL_TIMEOUT_MS) == 0){
32-
this->ledStatus.setPattern(LED_PATTERN_BLINK);
33-
}
33+
// else if(sf::cloud::wait_connect(SF_CELL_SIGNAL_TIMEOUT_MS) == 0){
34+
// this->ledStatus.setColor(RGB_COLOR_BLUE);
35+
// }
3436
Particle.syncTime();
3537
}
3638

0 commit comments

Comments
 (0)