mirror of
https://github.com/apache/nuttx.git
synced 2026-05-20 20:44:39 +08:00
Modify `do while` Statement typo
The following should be correct sample:
do
{
ready = !notready();
}
while (!ready);
senddata();
do
{
ptr++;
}
while (*ptr != '\0');
This commit is contained in:
@@ -2238,7 +2238,7 @@ braces <#braces>`__, `indentation <#indentation>`__, and
|
||||
|
||||
do ptr++; while (*ptr != '\0');
|
||||
|
||||
.. error:: This is incorrect
|
||||
.. tip:: This is correct
|
||||
|
||||
.. code-block:: c
|
||||
|
||||
|
||||
Reference in New Issue
Block a user