Skip to content

Commit 5867b94

Browse files
authored
#542 Fix comment in avr_ioport.h
In comment starting at line 58 of avr_ioport.h there was one missing parameter 'avr' in the avr_ioctl() call on line 63
1 parent 8d8e833 commit 5867b94

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: 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)