small comment

This commit is contained in:
Sem van der Hoeven
2021-04-06 14:45:52 +02:00
parent 41c080d5b7
commit 117e7ac731
2 changed files with 2 additions and 2 deletions

View File

@@ -849,7 +849,7 @@ void ultrasonic_handle_interrupt()
516: 81 30 cpi r24, 0x01 ; 1
518: 41 f4 brne .+16 ; 0x52a <ultrasonic_handle_interrupt+0x18>
{
// 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>

View File

@@ -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