summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJefferson Delfes <jefferson.delfes@gmail.com>2013-12-09 14:56:36 -0400
committerJefferson Delfes <jefferson.delfes@gmail.com>2013-12-11 13:42:16 -0400
commitd331fe9796088c6923fcef1b16b5f395434df456 (patch)
treefb5f84d5e62360005a5acd18fb35f18cd4d13469
parent382001f95f52e9ce51e0060efe9066ea3c282b4f (diff)
Fix some code style issues on adapter_state_change_cb
Remove extra space and replace tab with space.
-rw-r--r--btctl.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/btctl.c b/btctl.c
index 6ae0ec3..4a69a57 100644
--- a/btctl.c
+++ b/btctl.c
@@ -213,12 +213,12 @@ static void adapter_state_change_cb(bt_state_t state) {
u.adapter_state = state;
rl_printf("\nAdapter state changed: %i\n", state);
- if (state == BT_STATE_ON) {
+ if (state == BT_STATE_ON) {
/* Register as a GATT client with the stack
*
- * This has to be done here because it is the first available point we're
- * sure the GATT interface is initialized and ready to be used, since
- * there is callback for gattiface->init().
+ * This has to be done here because it is the first available point we're
+ * sure the GATT interface is initialized and ready to be used, since
+ * there is callback for gattiface->init().
*/
bt_status_t status = u.gattiface->client->register_client(&app_uuid);
if (status != BT_STATUS_SUCCESS)