Skip to content

Commit

Permalink
doc: correct description of { 0 } sentinel
Browse files Browse the repository at this point in the history
Suggested-by: Herman Bruyninckx <herman.bruyninckx@kuleuven.be>
Signed-off-by: Markus Klotzbuecher <mk@mkio.de>
  • Loading branch information
kmarkus committed May 1, 2020
1 parent 517149c commit bf308c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/user/developing_blocks.rst
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ ubx_genblock`_.
Declaring configuration
-----------------------

Configuration is described with a ``NULL`` terminated array of
Configuration is described with a ``{ 0 }`` terminated array of
``ubx_config_t`` types:

.. code:: c
Expand Down Expand Up @@ -92,7 +92,7 @@ Legal values of ``min`` and ``max`` are summarized below:
Declaring ports
---------------

Like configurations, ports are described with a ``NULL`` terminated
Like configurations, ports are described with a ``{ 0 }`` terminated
array of ubx_config_t types:

.. code:: c
Expand Down

0 comments on commit bf308c5

Please sign in to comment.