Skip to content

Commit 1b4e6ba

Browse files
committed
Fix bugs in compoundBitwiseAnd example code
Fixes regression of previously reported/fixed issue: arduino/Arduino#3558
1 parent c6eda80 commit 1b4e6ba

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Language/Structure/Compound Operators/compoundBitwiseAnd.adoc

+2-2
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,8 @@ So if:
9696

9797
[source,arduino]
9898
----
99-
myByte = 10101010;
100-
myByte &= B1111100; // results in B10101000
99+
myByte = B10101010;
100+
myByte &= B11111100; // results in B10101000
101101
----
102102

103103
[%hardbreaks]

0 commit comments

Comments
 (0)