minor update
This commit is contained in:
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 )
|
||||
|
||||
Reference in new issue
Block a user