Skip to content

Commit eb8826a

Browse files
committed
Merge branch 'master' into stuck_hunt
2 parents b9e6507 + 72e450f commit eb8826a

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

right/src/usb_report_sender.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ static void sendActiveReports(bool resending) {
159159

160160
KEY_TIMING(KeyTiming_RecordReport(ActiveKeyboardReport));
161161

162-
if (RuntimeMacroRecordingBlind || (CurrentPowerMode != PowerMode_Awake)) {
162+
if (RuntimeMacroRecordingBlind) {
163163
//just switch reports without sending the report
164164
UsbReportUpdater_SwitchActiveKeyboardReport();
165165
} else {
@@ -197,8 +197,7 @@ static void sendActiveReports(bool resending) {
197197
usbReportsChangedByAnything = true;
198198
}
199199

200-
if (MouseReport_HasChanges(mouseReports, ActiveMouseReport) && (!resending || UsbSemaphore.mouse.needsResending) &&
201-
(CurrentPowerMode == PowerMode_Awake)) {
200+
if (MouseReport_HasChanges(mouseReports, ActiveMouseReport) && (!resending || UsbSemaphore.mouse.needsResending)) {
202201
bool usbMouseButtonsChanged = mouseButtonsChanged();
203202

204203
UsbSemaphore.mouse.inFlight = true;

0 commit comments

Comments
 (0)