rename central to Central

This commit is contained in:
hathach committed 2017-02-23 21:21:45 +07:00
1 parent b194a62588
commit a08b5a79cc
4 files changed
+12 -12

No files matched your search

+2 -2
View File
@@ -82,7 +82,7 @@ static void bluefruit_blinky_cb( TimerHandle_t xTimer )
* Constructor
*/
AdafruitBluefruit::AdafruitBluefruit(void)
: central()
: Central()
{
_prph_enabled = true;
_central_enabled = false;
@@ -792,7 +792,7 @@ void AdafruitBluefruit::_poll(void)
}
// Central Event Handler
if (_central_enabled) central._event_handler(evt);
if (_central_enabled) Central._event_handler(evt);
// GATTs characteristics event handler
for(int i=0; i<_chars_count; i++)
+1 -1
View File
@@ -126,7 +126,7 @@ class AdafruitBluefruit
/*------------------------------------------------------------------*/
/* Central
*------------------------------------------------------------------*/
BLECentral central;
BLECentral Central;
/*------------------------------------------------------------------*/
/* Callback