Skip to content

Commit 15d1083

Browse files
authored
Merge pull request #543 from GeorgKorger/patch-1
#542 Fix comment in avr_ioport.h
2 parents bcff83e + 5867b94 commit 15d1083

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

simavr/sim/avr_ioport.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ typedef struct avr_ioport_getirq_t {
6060
*
6161
* for (int i = 'A'; i <= 'F'; i++) {
6262
* avr_ioport_state_t state;
63-
* if (avr_ioctl(AVR_IOCTL_IOPORT_GETSTATE(i), &state) == 0)
63+
* if (avr_ioctl(avr, AVR_IOCTL_IOPORT_GETSTATE(i), &state) == 0)
6464
* printf("PORT%c %02x DDR %02x PIN %02x\n",
6565
* state.name, state.port, state.ddr, state.pin);
6666
* }

0 commit comments

Comments
 (0)