]> cloudbase.mooo.com Git - irmp.git/blobdiff - irsndmain.c
Version 1.6.3: merged manchester decoding, changed output formats of debug modes...
[irmp.git] / irsndmain.c
index 59790302d9acf4ea0a7cfd06c6fb094c8ed8e5a1..c50c818f48e183f1d9b5877e7672182fb6af437b 100644 (file)
@@ -115,8 +115,9 @@ main (void)
   for (;;)\r
   {\r
     irmp_data.protocol = IRMP_NEC_PROTOCOL;\r
-    irmp_data.address = 0x00FF;\r
-    irmp_data.command = 0x0001;\r
+    irmp_data.address  = 0x00FF;\r
+    irmp_data.command  = 0x0001;\r
+    irmp_data.flags    = 0;\r
 \r
     irsnd_send_data (&irmp_data);\r
     _delay_ms (1000);\r
@@ -138,10 +139,11 @@ main (void)
   for (;;)\r
   {\r
     irmp_data.protocol = IRMP_NEC_PROTOCOL;\r
-    irmp_data.address = 0x00FF;\r
-    irmp_data.command = 0x0001;\r
+    irmp_data.address  = 0x00FF;\r
+    irmp_data.command  = 0x0001;\r
+    irmp_data.flags    = 0;\r
 \r
-    irsnd_send_data (&irmp_data);\r
+    irsnd_send_data (&irmp_data, TRUE);\r
     _delay_ms (1000);\r
   }\r
 }\r