mirror of
https://github.com/palera1n/palera1n.git
synced 2026-10-23 18:49:48 +02:00
feat(gui): add progress
chore: use proper logging
This commit is contained in:
12 files changed
+235
-99
No files matched your search
+2
-5
@@ -157,14 +157,11 @@ void recovery_device_event_cb(
|
||||
|
||||
if (client)
|
||||
{
|
||||
LOG("Opened client after %d attempts", attempts);
|
||||
VERBOSE("Opened client after %d attempts", attempts);
|
||||
|
||||
irecv_device_t device = nullptr;
|
||||
if (irecv_devices_get_device_by_client(client, &device) == IRECV_E_SUCCESS && device)
|
||||
{
|
||||
LOG("device product type: %s", device->product_type);
|
||||
LOG("device display name: %s", device->display_name);
|
||||
|
||||
state.productType = device->product_type ? device->product_type : "";
|
||||
state.displayName = device->display_name ? device->display_name : "";
|
||||
}
|
||||
@@ -173,7 +170,7 @@ void recovery_device_event_cb(
|
||||
}
|
||||
else
|
||||
{
|
||||
LOG("Failed to open irecv client after retries");
|
||||
ERROR("Failed to open irecv client after retries");
|
||||
}
|
||||
|
||||
state.isSupported = SequenceIsSupported(state.productType);
|
||||
|
||||
Reference in new issue
Block a user