We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents bcff83e + 5867b94 commit 15d1083Copy full SHA for 15d1083
simavr/sim/avr_ioport.h
@@ -60,7 +60,7 @@ typedef struct avr_ioport_getirq_t {
60
*
61
* for (int i = 'A'; i <= 'F'; i++) {
62
* avr_ioport_state_t state;
63
- * if (avr_ioctl(AVR_IOCTL_IOPORT_GETSTATE(i), &state) == 0)
+ * if (avr_ioctl(avr, AVR_IOCTL_IOPORT_GETSTATE(i), &state) == 0)
64
* printf("PORT%c %02x DDR %02x PIN %02x\n",
65
* state.name, state.port, state.ddr, state.pin);
66
* }
0 commit comments