From 117e7ac731a65a333c5430d4dff8c53a353cad1e Mon Sep 17 00:00:00 2001 From: Sem van der Hoeven Date: Tue, 6 Apr 2021 14:45:52 +0200 Subject: [PATCH] small comment --- Microcontrollers/Eindopdracht/Debug/Eindopdracht.lss | 2 +- Microcontrollers/Eindopdracht/ultrasonic_sensor.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Microcontrollers/Eindopdracht/Debug/Eindopdracht.lss b/Microcontrollers/Eindopdracht/Debug/Eindopdracht.lss index c87106b..b717d0e 100644 --- a/Microcontrollers/Eindopdracht/Debug/Eindopdracht.lss +++ b/Microcontrollers/Eindopdracht/Debug/Eindopdracht.lss @@ -849,7 +849,7 @@ void ultrasonic_handle_interrupt() 516: 81 30 cpi r24, 0x01 ; 1 518: 41 f4 brne .+16 ; 0x52a { - // set interrupt pin 0 on PORTD to falling edge + // set interrupt pin 2 on PORTD to falling edge EICRA = 0x20; 51a: 80 e2 ldi r24, 0x20 ; 32 51c: 80 93 6a 00 sts 0x006A, r24 ; 0x80006a <__TEXT_REGION_LENGTH__+0x7e006a> diff --git a/Microcontrollers/Eindopdracht/ultrasonic_sensor.c b/Microcontrollers/Eindopdracht/ultrasonic_sensor.c index c57ecad..e7fe51b 100644 --- a/Microcontrollers/Eindopdracht/ultrasonic_sensor.c +++ b/Microcontrollers/Eindopdracht/ultrasonic_sensor.c @@ -64,7 +64,7 @@ void ultrasonic_handle_interrupt() // if the interrupt was generated on a rising edge (start sending echo) if (int_stat == INTERRUPT_RISING) { - // set interrupt pin 0 on PORTD to falling edge + // set interrupt pin 2 on PORTD to falling edge EICRA = 0x20; // reset the time in timer1