minor update

This commit is contained in:
hathach committed 2017-07-12 20:02:15 +07:00
1 parent 8434aff069
commit b8d7c5f0d5
1 file changed
+1 -1
@@ -73,7 +73,7 @@ void setupAdv(void)
void loop()
{
// Only check pin when advertising has already stopped
if ( !Bluefruit.Advertising.isAdvertising() )
if ( !Bluefruit.Advertising.isRunning() )
{
// Check if Pin is grounded
if ( digitalRead(PIN_ADV) == 0 )