(BT) Cleanups

This commit is contained in:
twinaphex 2015-04-02 19:34:36 +02:00
parent 4174fc48a2
commit 64c10c6b49
4 changed files with 6 additions and 5 deletions

View File

@ -23,6 +23,7 @@
#include "btdynamic.h"
#define GRAB(A) {#A, (void**)&A##_ptr}
static struct
{
const char* name;
@ -107,7 +108,7 @@ bool btstack_try_load(void)
return true;
}
void btstack_thread_stop()
void btstack_thread_stop(void)
{
bt_send_cmd_ptr(btstack_set_power_mode_ptr, HCI_POWER_OFF);
}

View File

@ -72,7 +72,7 @@ int bt_close(void);
int bt_send_cmd(const hci_cmd_t *cmd, ...);
/* Register packet handler -- channel only valid
* for L2CAP and RFCOMM packets.
for L2CAP and RFCOMM packets.
*/
btstack_packet_handler_t bt_register_packet_handler(
btstack_packet_handler_t handler);