]> rtime.felk.cvut.cz Git - rpp-test-sw.git/commitdiff
Caninit mentioned in documentation of send and dump
authorKarryanna <karry@karryanna.cz>
Thu, 19 Sep 2013 12:50:02 +0000 (14:50 +0200)
committerKarryanna <karry@karryanna.cz>
Thu, 19 Sep 2013 12:50:02 +0000 (14:50 +0200)
commands/cmd_can.c

index ca7fea0de790d70387008fdb86f7b03ceea6e0ba..d43a9f65984de0c3b0557d35a7750f88f41ba0ee 100644 (file)
@@ -535,6 +535,9 @@ cmd_des_t const cmd_des_can_send={
     "\n"
     "This command sends a CAN frame using specified CAN controller.\n"
     "\n"
+    "caninit shall be called before using this command, sending may\n"
+    "behave unexpectedly otherwise.\n"
+    "\n"
     "=== Example ===\n"
     "   --> cansend 2 0x123 DEAD BEEF\n"
     "   Sent: can2      123     [4]     DE AD BE EF\n",
@@ -559,6 +562,9 @@ cmd_des_t const cmd_des_can_dump={
     "IDs are zero-filled to length 3 if standard ID is used and to 8\n"
     "if extended ID is used.\n"
     "\n"
+    "caninit shall be called before using this command, sending may\n"
+    "behave unexpectedly otherwise.\n"
+    "\n"
     "=== Example ===\n"
     "\n"
     "   --> candump 2\n"