rename enableLedConn() to autoConnLed()

This commit is contained in:
hathach committed 2017-02-10 20:10:21 +07:00
1 parent ba434a6c7d
commit 7bc3809495
3 files changed
+3 -3

No files matched your search

@@ -35,7 +35,7 @@ void setup()
// Setup the BLE LED to be enabled on CONNECT
// Note: This is actually the default behaviour, but provided
// here in case you want to control this manually via PIN 19
Bluefruit.enableLedConn(true);
Bluefruit.autoConnLed(true);
Bluefruit.begin();
Bluefruit.setName("Bluefruit52");
+1 -1
View File
@@ -226,7 +226,7 @@ void AdafruitBluefruit::setName(const char* str)
strncpy(_name, str, 32);
}
void AdafruitBluefruit::enableLedConn(bool enabled)
void AdafruitBluefruit::autoConnLed(bool enabled)
{
_led_conn = enabled;
}
+1 -1
View File
@@ -63,7 +63,7 @@ class AdafruitBluefruit
err_t begin(void);
void enableLedConn(bool enabled);
void autoConnLed(bool enabled);
void setName(const char* str);
// bool setTxPower(int8_t power);