diff --git a/src/daemon.c b/src/daemon.c index 04b148770..0e0f7e7ee 100644 --- a/src/daemon.c +++ b/src/daemon.c @@ -85,12 +85,12 @@ static void (*bluetooth_status_handler)(BLUETOOTH_STATE state) = dummy_bluetooth static void daemon_no_connections_timeout(){ #ifdef USE_LAUNCHD - printf("No connection for %u seconds -> POWER OFF and quit\n", DAEMON_NO_CONNECTION_TIMEOUT); + printf("No connection for %u seconds -> POWER OFF and quit\n", DAEMON_NO_CONNECTION_TIMEOUT/1000); hci_power_control( HCI_POWER_OFF); hci_close(); exit(0); #else - printf("No connection for %u seconds -> POWER OFF\n", DAEMON_NO_CONNECTION_TIMEOUT); + printf("No connection for %u seconds -> POWER OFF\n", DAEMON_NO_CONNECTION_TIMEOUT/1000); hci_power_control( HCI_POWER_OFF); #endif }