From: Xavier L. <Ba...@us...> - 2011-03-18 21:59:14
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "krobot". The branch, master has been updated via 184d207e0be5f4a681e76f3bd4cea8b59476b414 (commit) from f8b4c4bc985a9e6f73229e03035f91f102ad745d (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 184d207e0be5f4a681e76f3bd4cea8b59476b414 Author: Xavier Lagorce <Xav...@cr...> Date: Fri Mar 18 22:58:18 2011 +0100 [USB_CAN] Typo on packet generation ----------------------------------------------------------------------- Changes: diff --git a/elec/boards/USB_CAN/Firmware/usb_can/usb_can.c b/elec/boards/USB_CAN/Firmware/usb_can/usb_can.c index f345178..bb16436 100644 --- a/elec/boards/USB_CAN/Firmware/usb_can/usb_can.c +++ b/elec/boards/USB_CAN/Firmware/usb_can/usb_can.c @@ -30,7 +30,7 @@ int usb_can_emit(UNUSED_ARG(can_driver *, candrv), struct Serial *serial, can_rx sprintf(&buffer[i], "%02x", frame->data8[j]); sprintf(&buffer[i], "%04x", timestamp); - i+=2; + i+=4; buffer[i] = '\r'; i++; hooks/post-receive -- krobot |