X-Git-Url: http://cloudbase.mooo.com/gitweb/irmp.git/blobdiff_plain/a7054daf46ab0ee2310b26be519161d5a0320211..9547ee89a530c866f714f1ce0fafe0f03e0ce83c:/irsndmain.c diff --git a/irsndmain.c b/irsndmain.c index 9a25c8f..e5a03cb 100644 --- a/irsndmain.c +++ b/irsndmain.c @@ -71,7 +71,7 @@ timer_init (void) TIMSK = 1 << OCIE1A; // OCIE1A: Interrupt by timer compare (use TIMSK for ATMEGA162) #else TIMSK1 = 1 << OCIE1A; // OCIE1A: Interrupt by timer compare (use TIMSK for ATMEGA162) -#endif // __AVR... +#endif // __AVR... } /*--------------------------------------------------------------------------------------------------------------------------------------------------- @@ -143,7 +143,7 @@ main (void) irmp_data.command = 0x0001; irmp_data.flags = 0; - irsnd_send_data (&irmp_data); + irsnd_send_data (&irmp_data, TRUE); _delay_ms (1000); } }