Skip to content

Commit 91a4240

Browse files
committed
fixup! pbdrv/bluetooth: RFCOMM socket API.
Code format.
1 parent 66999ac commit 91a4240

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

lib/pbio/drv/bluetooth/bluetooth_btstack.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2006,7 +2006,7 @@ void pbdrv_bluetooth_rfcomm_cancel_connection() {
20062006
}
20072007
}
20082008

2009-
void pbdrv_bluetooth_rfcomm_disconnect_all() {
2009+
void pbdrv_bluetooth_rfcomm_disconnect_all(void) {
20102010
for (int i = 0; i < RFCOMM_SOCKET_COUNT; i++) {
20112011
pbdrv_bluetooth_classic_rfcomm_socket_t *sock =
20122012
&pbdrv_bluetooth_classic_rfcomm_sockets[i];

lib/pbio/include/pbdrv/bluetooth.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -868,7 +868,7 @@ static inline bool pbdrv_bluetooth_str_to_bdaddr(const char *str,
868868

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

0 commit comments

Comments
 (0)