Skip to content

Commit

Permalink
- minor formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
sandeepmistry committed Jan 9, 2014
1 parent 01be772 commit ee06f6c
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/hci-ble.c
Original file line number Diff line number Diff line change
Expand Up @@ -110,11 +110,9 @@ int main(int argc, const char* argv[])
hciDeviceIdOverride = getenv("BLENO_HCI_DEVICE_ID");
if (hciDeviceIdOverride != NULL) {
hciDeviceId = atoi(hciDeviceIdOverride);
}
else
{
// if no env variable given, use the first available device
hciDeviceId = hci_get_route(NULL);
} else {
// if no env variable given, use the first available device
hciDeviceId = hci_get_route(NULL);
}

if (hciDeviceId < 0) {
Expand Down

0 comments on commit ee06f6c

Please sign in to comment.