Skip to content

Commit

Permalink
A2DP compile errors
Browse files Browse the repository at this point in the history
  • Loading branch information
pschatzmann committed Nov 4, 2021
1 parent a1658f6 commit 78f2523
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions src/ArdBtSource.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -78,19 +78,19 @@ void ArdBtSource :: start(char* name, Voicer &voicer) {
this->pVoicer = &voicer;
pArdBtSourceVoicer = &voicer;

a2dp_source->startRaw(name, get_stk_data);
a2dp_source->start_raw(name, get_stk_data);
}

bool ArdBtSource :: isConnected(){
return a2dp_source->isConnected();
return a2dp_source->is_connected();
}

void ArdBtSource :: setNVSInit(bool doInit){
a2dp_source->setNVSInit(doInit);
a2dp_source->set_nvs_init(doInit);
}

void ArdBtSource :: setResetBLE(bool doInit){
a2dp_source->setResetBLE(doInit);
a2dp_source->set_reset_ble(doInit);
}

} // stk namespace
Expand Down
2 changes: 1 addition & 1 deletion src/MemoryFS.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ int MemoryFS :: findByName(const char * path){
if (registry!=NULL && path!=NULL){
for (int fd=0; fd<registry_last_entry-1; fd++){
//ESP_LOGD(APP_VFS, "x%x, matching with %s", __func__, registry[fd].name);
char nameReg[] = registry[fd].name;
const char *nameReg = registry[fd].name;
if (nameReg!= NULL && strcmp(path,nameReg) == 0){
result = fd;
break;
Expand Down

0 comments on commit 78f2523

Please sign in to comment.