Skip to content

Commit

Permalink
remove typo setApperance/getApperance
Browse files Browse the repository at this point in the history
  • Loading branch information
hathach committed Jul 2, 2019
1 parent a082437 commit 1959181
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 14 deletions.
4 changes: 2 additions & 2 deletions libraries/Bluefruit52Lib/keywords.txt
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ setName KEYWORD2
getName KEYWORD2
setTxPower KEYWORD2
getTxPower KEYWORD2
setApperance KEYWORD2
getApperance KEYWORD2
setAppearance KEYWORD2
getAppearance KEYWORD2

connected KEYWORD2
disconnect KEYWORD2
Expand Down
10 changes: 0 additions & 10 deletions libraries/Bluefruit52Lib/src/bluefruit.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -580,21 +580,11 @@ void AdafruitBluefruit::setConnLedInterval(uint32_t ms)
if ( !active ) xTimerStop(_led_blink_th, 0);
}

bool AdafruitBluefruit::setApperance(uin16_t appear)
{
setAppearance(appear);
}

bool AdafruitBluefruit::setAppearance(uint16_t appear)
{
return ERROR_NONE == sd_ble_gap_appearance_set(appear);
}

bool AdafruitBluefruit::getApperance(void)
{
getAppearance(void);
}

uint16_t AdafruitBluefruit::getAppearance(void)
{
uint16_t appear = 0;
Expand Down
2 changes: 0 additions & 2 deletions libraries/Bluefruit52Lib/src/bluefruit.h
Original file line number Diff line number Diff line change
Expand Up @@ -153,9 +153,7 @@ class AdafruitBluefruit
bool setTxPower (int8_t power);
int8_t getTxPower (void);

bool setApperance (uint16_t appear);
bool setAppearance (uint16_t appear);
uint16_t getApperance (void);
uint16_t getAppearance (void);

ble_gap_sec_params_t getSecureParam(void)
Expand Down

0 comments on commit 1959181

Please sign in to comment.