mirror of
https://codeberg.org/ziglings/exercises.git
synced 2025-06-08 10:07:01 +09:00
added newline between toggle and set sections to
make the expected output match
This commit is contained in:
parent
0fa86eb8c8
commit
502ac8711e
1 changed files with 2 additions and 0 deletions
|
@ -119,6 +119,8 @@ pub fn main() !void {
|
||||||
PORTB ^= (1 << 1) & (1 << 0); // What's wrong here?
|
PORTB ^= (1 << 1) & (1 << 0); // What's wrong here?
|
||||||
checkAnswer(0b1111, PORTB);
|
checkAnswer(0b1111, PORTB);
|
||||||
|
|
||||||
|
newline();
|
||||||
|
|
||||||
// Now let's take a look at setting bits with the | operator.
|
// Now let's take a look at setting bits with the | operator.
|
||||||
//
|
//
|
||||||
// ------------------------------------------------------------------------
|
// ------------------------------------------------------------------------
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue