Skip to content

Commit 77e22d5

Browse files
committed
doc/userled: Fix printf example
It is needed to escape \ itself. Signed-off-by: Jiri Vlasak <jvlasak@elektroline.cz>
1 parent cbe13af commit 77e22d5

File tree

1 file changed

+1
-1
lines changed
  • Documentation/components/drivers/character/leds

1 file changed

+1
-1
lines changed

Documentation/components/drivers/character/leds/userled.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Also is possible for users to control the LEDs from "nsh>" using the "printf" co
2929
.. code-block:: bash
3030
3131
NuttShell (NSH)
32-
nsh> printf \x000000a5 > /dev/userleds
32+
nsh> printf \\x000000a5 > /dev/userleds
3333
3434
This command will turn ON the LEDs mapped to bits 0, 2, 5 and 7.
3535

0 commit comments

Comments
 (0)