Skip to content

Commit 59c5bb2

Browse files
committed
Merge pull request hexagon5un#4 from sachleen/patch-1
Update 1up.c
2 parents b23b067 + 21f6895 commit 59c5bb2

File tree

1 file changed

+1
-1
lines changed
  • Chapter03_Digital-Output/povToy

1 file changed

+1
-1
lines changed

Chapter03_Digital-Output/povToy/1up.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ int main(void) {
4646

4747
while (1) { /* mainloop */
4848
for (i = 0; i < sizeof(Star1UP); i++) {
49-
/* sizeof(Star1UP) returns the number of bits in our array, */
49+
/* sizeof(Star1UP) returns the number of bytes in our array, */
5050
PORTB = Star1UP[i];
5151
_delay_ms(DELAYTIME);
5252
}

0 commit comments

Comments
 (0)