Skip to content

Commit 3269692

Browse files
author
Akshay Sharma
committed
Update Warning
Updated warning acc to arduino/Arduino#2602
1 parent 8b3b748 commit 3269692

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Language/Functions/Math/min.adoc

+2-2
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@ Because of the way the `min()` function is implemented, avoid using other functi
6262
----
6363
min(a++, 100); // avoid this - yields incorrect results
6464
65-
a++;
66-
min(a, 100); // use this instead - keep other math outside the function
65+
min(a, 100);
66+
a++; // use this instead - keep other math outside the function
6767
----
6868
[%hardbreaks]
6969

0 commit comments

Comments
 (0)