Skip to content

Commit

Permalink
Merge pull request #543 from GeorgKorger/patch-1
Browse files Browse the repository at this point in the history
#542 Fix comment in avr_ioport.h
  • Loading branch information
gatk555 authored Dec 2, 2024
2 parents bcff83e + 5867b94 commit 15d1083
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion simavr/sim/avr_ioport.h
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ typedef struct avr_ioport_getirq_t {
*
* for (int i = 'A'; i <= 'F'; i++) {
* avr_ioport_state_t state;
* if (avr_ioctl(AVR_IOCTL_IOPORT_GETSTATE(i), &state) == 0)
* if (avr_ioctl(avr, AVR_IOCTL_IOPORT_GETSTATE(i), &state) == 0)
* printf("PORT%c %02x DDR %02x PIN %02x\n",
* state.name, state.port, state.ddr, state.pin);
* }
Expand Down

0 comments on commit 15d1083

Please sign in to comment.