From: Scott Worley Date: Mon, 9 Oct 2023 03:42:35 +0000 (-0700) Subject: client: Less chatty with the LED X-Git-Tag: v0.1.0~55 X-Git-Url: http://git.scottworley.com/tattlekey/commitdiff_plain/38d971ac5039ae385ceed19e9f02722b60913f15?ds=sidebyside client: Less chatty with the LED --- diff --git a/client/tattlekey.c b/client/tattlekey.c index ff61f43..3a1f7b7 100644 --- a/client/tattlekey.c +++ b/client/tattlekey.c @@ -27,13 +27,12 @@ int main() { stdio_init_all(); if (cyw43_arch_init_with_country(CYW43_COUNTRY_USA)) signal_error_by_blinking(); - signal(1, 200); cyw43_arch_enable_sta_mode(); - signal(2, 200); + signal(3, 100); if (cyw43_arch_wifi_connect_timeout_ms(wifi_ssid, wifi_pass, CYW43_AUTH_WPA2_AES_PSK, 90000)) signal_error_by_blinking(); - signal(3, 200); + signal(2, 300); queue_init(&queue, 1, 99); @@ -44,6 +43,6 @@ int main() { char _; queue_remove_blocking(&queue, &_); send_report(seq++, 0); - signal(4, 200); + signal(2, 100); } }