Skip to content

Commit

Permalink
missing { fix #2
Browse files Browse the repository at this point in the history
  • Loading branch information
tomaskovacik committed Aug 29, 2018
1 parent 09ae19c commit 2c958a2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion BK8000L.cpp
Expand Up @@ -32,10 +32,11 @@ BK8000L::BK8000L(HardwareSerial *ser, uint8_t resetPin)
/*
Destructor
*/
BK8000L::~BK8000L()
BK8000L::~BK8000L() {
btSerial->end();
}


void BK8000L::begin(uint32_t baudrate) {
btSerial->begin(baudrate);
pinMode(_reset,OUTPUT);
Expand Down
4 changes: 2 additions & 2 deletions examples/BK8000L/BK8000L.ino
Expand Up @@ -26,7 +26,7 @@ void getInitStates() {
BT.getAddress();
BT.getSoftwareVersion();
BT.getMusicStatus();
BT.getHFPstatus();
BT.getHFPStatus();
}

void setup() {
Expand Down Expand Up @@ -246,7 +246,7 @@ void loop() {
BT.getMusicStatus();
break;
case 'y':
BT.getHFPstatus();
BT.getHFPStatus();
break;
case 'z':
BT.resetModule();
Expand Down

0 comments on commit 2c958a2

Please sign in to comment.