Skip to content

Commit 0d2ae25

Browse files
committed
pbio/drv/bluetooth: Don't exit on systems without Bluetooth.
1 parent 3fba188 commit 0d2ae25

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/pbio/include/pbdrv/bluetooth.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -616,7 +616,8 @@ static inline pbio_error_t pbdrv_bluetooth_await_advertise_or_scan_command(pbio_
616616
}
617617

618618
static inline pbio_error_t pbdrv_bluetooth_close_user_tasks(pbio_os_state_t *state, pbio_os_timer_t *timer) {
619-
return PBIO_ERROR_NOT_SUPPORTED;
619+
// Should not hold up systems without Bluetooth.
620+
return PBIO_SUCCESS;
620621
}
621622

622623

0 commit comments

Comments
 (0)