Skip to content

Commit 47240a3

Browse files
committed
Fix logging.
1 parent 4f65fcc commit 47240a3

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

SerialPrograms/Source/NintendoSwitch/Controllers/NintendoSwitch_ProControllerWithScheduler.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ void ProControllerWithScheduler::issue_buttons(
113113
"issue_buttons(): " + button_to_string(button) +
114114
", delay = " + std::to_string(delay.count()) + "ms" +
115115
", hold = " + std::to_string(hold.count()) + "ms" +
116-
", cooldown = " + std::to_string(delay.count()) + "ms",
116+
", cooldown = " + std::to_string(cooldown.count()) + "ms",
117117
COLOR_DARKGREEN
118118
);
119119
}
@@ -148,7 +148,7 @@ void ProControllerWithScheduler::issue_dpad(
148148
"issue_dpad(): " + dpad_to_string(position) +
149149
", delay = " + std::to_string(delay.count()) + "ms" +
150150
", hold = " + std::to_string(hold.count()) + "ms" +
151-
", cooldown = " + std::to_string(delay.count()) + "ms",
151+
", cooldown = " + std::to_string(cooldown.count()) + "ms",
152152
COLOR_DARKGREEN
153153
);
154154
}
@@ -170,7 +170,7 @@ void ProControllerWithScheduler::issue_left_joystick(
170170
"issue_left_joystick(): (" + std::to_string(x) + "," + std::to_string(y) + ")" +
171171
", delay = " + std::to_string(delay.count()) + "ms" +
172172
", hold = " + std::to_string(hold.count()) + "ms" +
173-
", cooldown = " + std::to_string(delay.count()) + "ms",
173+
", cooldown = " + std::to_string(cooldown.count()) + "ms",
174174
COLOR_DARKGREEN
175175
);
176176
}
@@ -194,7 +194,7 @@ void ProControllerWithScheduler::issue_right_joystick(
194194
"issue_right_joystick(): (" + std::to_string(x) + "," + std::to_string(y) + ")" +
195195
", delay = " + std::to_string(delay.count()) + "ms" +
196196
", hold = " + std::to_string(hold.count()) + "ms" +
197-
", cooldown = " + std::to_string(delay.count()) + "ms",
197+
", cooldown = " + std::to_string(cooldown.count()) + "ms",
198198
COLOR_DARKGREEN
199199
);
200200
}
@@ -300,7 +300,7 @@ void ProControllerWithScheduler::issue_system_scroll(
300300
"issue_system_scroll(): " + dpad_to_string(direction) +
301301
", delay = " + std::to_string(delay.count()) + "ms" +
302302
", hold = " + std::to_string(hold.count()) + "ms" +
303-
", cooldown = " + std::to_string(delay.count()) + "ms",
303+
", cooldown = " + std::to_string(cooldown.count()) + "ms",
304304
COLOR_DARKGREEN
305305
);
306306
}

0 commit comments

Comments
 (0)