clean up code with HAPService

This commit is contained in:
hathach committed 2017-10-14 00:50:22 +07:00
1 parent 495f603ef7
commit 59c40a27f6
6 files changed
+96 -21

No files matched your search

+3 -4
View File
@@ -34,18 +34,17 @@
*/
/**************************************************************************/
#include "HAPService.h"
#include <Arduino.h>
#include <bluefruit.h>
#include "BLEHomekit.h"
#include "HAPService.h"
// Starting from 1 for Accessory Info
HAPService HAPService::_g_svc_id = 1;
uint16_t HAPService::_g_svc_id = 1;
err_t HAPService::begin(void)
{
VERIFY_STATUS( BLEService.begin() );
VERIFY_STATUS( BLEService::begin() );
return _addSvcID();
}