Fix output formatting

This commit is contained in:
Denis 2023-11-21 19:36:18 +01:00
parent 55cc4aca90
commit 67bb65f381
No known key found for this signature in database
GPG key ID: DD9B63F805CF5C03
3 changed files with 4 additions and 4 deletions

View file

@ -274,10 +274,10 @@ int main() {
// if (res >= 0) {
// ++counter;
// } else {
// fprintf(stderr, "Error sending HID report: %d", res);
// fprintf(stderr, "Error sending HID report: %d\n", res);
// }
// } else {
// printf("PS4 output not enabled");
// printf("PS4 output not enabled\n");
// }
}

View file

@ -60,7 +60,7 @@ int logic_create(logic_t *const logic) {
logic->gamepad_output = GAMEPAD_OUTPUT_EVDEV;
}
} else {
fprintf(stderr, "Unable to initialize Asus RC71L MCU: %d", init_platform_res);
fprintf(stderr, "Unable to initialize Asus RC71L MCU: %d\n", init_platform_res);
}
return 0;

View file

@ -710,7 +710,7 @@ void *virt_ds4_thread_func(void *ptr) {
if (logic->gamepad_output == GAMEPAD_OUTPUT_DS4) {
const int res = send_data(fd, logic);
if (res < 0) {
fprintf(stderr, "Error sending HID report: %d", res);
fprintf(stderr, "Error sending HID report: %d\n", res);
}
}
}