Skip to content

Commit a541fad

Browse files
committed
fix issue #98
1 parent 6e42e93 commit a541fad

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

libraries/Bluefruit52Lib/examples/Central/central_bleuart_multi/central_bleuart_multi.ino

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,8 @@ void blink_timer_callback(TimerHandle_t xTimerID)
310310
// Where n = number of connection
311311
static uint8_t count = 0;
312312

313-
if ( count < 2*connection_num) digitalToggle(LED_RED);
313+
if ( count < 2*connection_num ) digitalToggle(LED_RED);
314+
if ( count % 2 && digitalRead(LED_RED)) digitalWrite(LED_RED, LOW); // issue #98
314315

315316
count++;
316317
if (count >= 10) count = 0;

0 commit comments

Comments
 (0)