summaryrefslogtreecommitdiff
path: root/src/usbh_driver_hid_mouse.c
diff options
context:
space:
mode:
authorAmir Hammad <amir.hammad@hotmail.com>2015-07-13 14:52:21 +0200
committerAmir Hammad <amir.hammad@hotmail.com>2015-07-13 14:54:15 +0200
commit33856ce17ccc2a4c1041d456f6d9c86eed4b1105 (patch)
tree26481d4564e4839f7babf4d8fe685e102d3fd950 /src/usbh_driver_hid_mouse.c
parent54f3b37a7176a905866085fb43276d8f1840f196 (diff)
downloadsecure-hid-33856ce17ccc2a4c1041d456f6d9c86eed4b1105.tar.gz
secure-hid-33856ce17ccc2a4c1041d456f6d9c86eed4b1105.tar.bz2
secure-hid-33856ce17ccc2a4c1041d456f6d9c86eed4b1105.zip
Global logging: use \n for a new line instead \r\n in LOG_PRINTF
Signed-off-by: Amir Hammad <amir.hammad@hotmail.com>
Diffstat (limited to 'src/usbh_driver_hid_mouse.c')
-rw-r--r--src/usbh_driver_hid_mouse.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usbh_driver_hid_mouse.c b/src/usbh_driver_hid_mouse.c
index 2afa084..dc6ab84 100644
--- a/src/usbh_driver_hid_mouse.c
+++ b/src/usbh_driver_hid_mouse.c
@@ -182,7 +182,7 @@ static void event(usbh_device_t *dev, usbh_packet_callback_data_t cb_data)
case USBH_PACKET_CALLBACK_STATUS_OK:
mouse->state_next = STATE_READING_REQUEST;
mouse->endpoint_in_toggle = 0;
- LOG_PRINTF("\r\nMOUSE CONFIGURED\r\n");
+ LOG_PRINTF("\nMOUSE CONFIGURED\n");
break;
case USBH_PACKET_CALLBACK_STATUS_ERRSIZ:
@@ -219,7 +219,7 @@ static void read_mouse_in(void *drvdata)
mouse->state_next = STATE_READING_COMPLETE;
usbh_read(mouse->usbh_device, &packet);
- // LOG_PRINTF("@MOUSE EP1 | \r\n");
+ // LOG_PRINTF("@MOUSE EP1 | \n");
}