Skip to content

Commit bcf0681

Browse files
committed
fixup! pbdrv/bluetooth: RFCOMM socket API.
Fix multiple definitions of rfcomm_connect.
1 parent 8c09fed commit bcf0681

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/pbio/include/pbdrv/bluetooth.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -866,9 +866,9 @@ static inline bool pbdrv_bluetooth_str_to_bdaddr(const char *str,
866866
return false;
867867
}
868868

869-
pbio_error_t pbdrv_bluetooth_rfcomm_connect(pbio_os_state_t *state,
870-
bdaddr_t bdaddr, int32_t timeout,
871-
void *conn) {
869+
static inline pbio_error_t
870+
pbdrv_bluetooth_rfcomm_connect(pbio_os_state_t *state, bdaddr_t bdaddr,
871+
int32_t timeout, void *conn) {
872872
return PBIO_ERROR_NOT_SUPPORTED;
873873
}
874874

0 commit comments

Comments
 (0)