mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-06-02 13:27:32 +08:00
*** empty log message ***
This commit is contained in:
@@ -114,7 +114,9 @@ static void priv_parse_payload() {
|
|||||||
case WC_RES_READ_REMOTE_RSSI : {
|
case WC_RES_READ_REMOTE_RSSI : {
|
||||||
g_source_remove(wc_glib.timeout_id);
|
g_source_remove(wc_glib.timeout_id);
|
||||||
float percent = (float)wc_payload[1] / (float)0x2F * 100.;
|
float percent = (float)wc_payload[1] / (float)0x2F * 100.;
|
||||||
g_message("got WC_RES_READ_REMOTE_RSSI %s %.1f", get_host_by_id(wc_glib.requested_remote_rssi)->name, percent );
|
GTimeVal now;
|
||||||
|
g_get_current_time(&now);
|
||||||
|
g_message("%ld.%06ld got WC_RES_READ_REMOTE_RSSI %s %.1f", now.tv_sec, now.tv_usec, get_host_by_id(wc_glib.requested_remote_rssi)->name, percent );
|
||||||
NEXT_RSSI();
|
NEXT_RSSI();
|
||||||
request_remote_rssi();
|
request_remote_rssi();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user