Skip to content

Commit 205ff2a

Browse files
committed
fix
1 parent a9f08e6 commit 205ff2a

File tree

4 files changed

+1
-6
lines changed

4 files changed

+1
-6
lines changed

examples/countdown_DHMS/countdown_DHMS.ino

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ CountDown CD;
1212

1313

1414
void setup()
15-
{
1615
{
1716
// while(!Serial); // uncomment if needed
1817
Serial.begin(115200);

examples/countdown_adaptive_display/countdown_adaptive_display.ino

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ int wait = 2000;
1414

1515

1616
void setup()
17-
{
1817
{
1918
// while(!Serial); // uncomment if needed
2019
Serial.begin(115200);

examples/countdown_restart/countdown_restart.ino

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ uint8_t lines = 0;
1313

1414

1515
void setup()
16-
{
1716
{
1817
// while(!Serial); // uncomment if needed
1918
Serial.begin(115200);

examples/countdown_setResolution/countdown_setResolution.ino

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ CountDown CD;
1313

1414

1515
void setup()
16-
{
1716
{
1817
// while(!Serial); // uncomment if needed
1918
Serial.begin(115200);
@@ -31,7 +30,7 @@ void setup()
3130
void loop()
3231
{
3332
static uint32_t last_remaining = 0;
34-
if (last_remaining != CD.remaining() || CD.remaining() == 0 )
33+
if ((last_remaining != CD.remaining()) || (CD.remaining() == 0) )
3534
{
3635
Serial.println();
3736
last_remaining = CD.remaining();
@@ -43,4 +42,3 @@ void loop()
4342

4443

4544
// -- END OF FILE --
46-

0 commit comments

Comments
 (0)