Skip to content

Commit 78f2523

Browse files
committed
A2DP compile errors
1 parent a1658f6 commit 78f2523

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/ArdBtSource.cpp

+4-4
Original file line numberDiff line numberDiff line change
@@ -78,19 +78,19 @@ void ArdBtSource :: start(char* name, Voicer &voicer) {
7878
this->pVoicer = &voicer;
7979
pArdBtSourceVoicer = &voicer;
8080

81-
a2dp_source->startRaw(name, get_stk_data);
81+
a2dp_source->start_raw(name, get_stk_data);
8282
}
8383

8484
bool ArdBtSource :: isConnected(){
85-
return a2dp_source->isConnected();
85+
return a2dp_source->is_connected();
8686
}
8787

8888
void ArdBtSource :: setNVSInit(bool doInit){
89-
a2dp_source->setNVSInit(doInit);
89+
a2dp_source->set_nvs_init(doInit);
9090
}
9191

9292
void ArdBtSource :: setResetBLE(bool doInit){
93-
a2dp_source->setResetBLE(doInit);
93+
a2dp_source->set_reset_ble(doInit);
9494
}
9595

9696
} // stk namespace

src/MemoryFS.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ int MemoryFS :: findByName(const char * path){
9595
if (registry!=NULL && path!=NULL){
9696
for (int fd=0; fd<registry_last_entry-1; fd++){
9797
//ESP_LOGD(APP_VFS, "x%x, matching with %s", __func__, registry[fd].name);
98-
char nameReg[] = registry[fd].name;
98+
const char *nameReg = registry[fd].name;
9999
if (nameReg!= NULL && strcmp(path,nameReg) == 0){
100100
result = fd;
101101
break;

0 commit comments

Comments
 (0)