Skip to content

Commit

Permalink
Add more logging around axe_wakeup
Browse files Browse the repository at this point in the history
  • Loading branch information
Jalle19 committed Jun 25, 2024
1 parent 3414d97 commit 4ead79e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/axe.c
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,7 @@ int axe_wakeup(adapter *_ad, int fe_fd, int voltage) {
ad = get_adapter(i);
if (ad == NULL || is_adapter_disabled(i))
continue;
LOG("axe_wakeup: waking adapter %d, fd %d", i, ad->fe);
if (ioctl(ad->fe, FE_SET_VOLTAGE, voltage) == -1)
LOG("axe_wakeup: FE_SET_VOLTAGE failed fd %d: %s", ad->fe,
strerror(errno));
Expand Down

0 comments on commit 4ead79e

Please sign in to comment.