Skip to content

Commit 8689324

Browse files
gmarullrlubos
authored andcommitted
[nrf fromtree] drivers: spi: fix sample syntax
Upcoming versions of breathe highlight code embedded in Doxygen blocks. In this case, the Devicetree fragment contained invalid syntax leading to Sphinx warnings. Signed-off-by: Gerard Marull-Paretas <[email protected]>
1 parent 587a483 commit 8689324

File tree

1 file changed

+3
-3
lines changed
  • include/zephyr/drivers

1 file changed

+3
-3
lines changed

include/zephyr/drivers/spi.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -163,11 +163,11 @@ struct spi_cs_control {
163163
* Example devicetree fragment:
164164
*
165165
* @code{.devicetree}
166-
* gpio1: gpio@... { ... };
166+
* gpio1: gpio@abcd0001 { ... };
167167
*
168-
* gpio2: gpio@... { ... };
168+
* gpio2: gpio@abcd0002 { ... };
169169
*
170-
* spi@... {
170+
* spi@abcd0003 {
171171
* compatible = "vnd,spi";
172172
* cs-gpios = <&gpio1 10 GPIO_ACTIVE_LOW>,
173173
* <&gpio2 20 GPIO_ACTIVE_LOW>;

0 commit comments

Comments
 (0)