Skip to content

Commit ca630b9

Browse files
committed
Fix for single-core ESP32 (i.e. ESP32-C3). Fixes #8, thx to @philipPerlick
1 parent ab52b3f commit ca630b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/phyphoxBLE_ESP32.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ void PhyphoxBLE::staticStartTask(void* _this){
259259

260260
void PhyphoxBLE::startTask()
261261
{
262-
xTaskCreatePinnedToCore(staticStartTask, "TaskTransfer",10000, NULL,1, &TaskTransfer, 1);
262+
xTaskCreatePinnedToCore(staticStartTask, "TaskTransfer",10000, NULL,1, &TaskTransfer, tskNO_AFFINITY);
263263
delay(1);
264264
}
265265

0 commit comments

Comments
 (0)