telebt-v4.0: add ao_send_packet
authorBdale Garbee <bdale@gag.com>
Wed, 26 Apr 2017 04:10:41 +0000 (22:10 -0600)
committerBdale Garbee <bdale@gag.com>
Wed, 26 Apr 2017 04:10:41 +0000 (22:10 -0600)
src/telebt-v4.0/Makefile
src/telebt-v4.0/ao_telebt.c

index 9cdf247..1ad355c 100644 (file)
@@ -42,7 +42,8 @@ ALTOS_SRC = \
        ao_convert_volt.c \
        ao_packet_master.c \
        ao_packet.c \
-       ao_monitor.c 
+       ao_monitor.c \
+       ao_send_packet.c
 
 PRODUCT=TeleBT-v4.0
 PRODUCT_DEF=-DTELEBT_V_4_0
index 467acdb..a27384f 100644 (file)
@@ -19,6 +19,7 @@
 #include <ao.h>
 #include <ao_exti.h>
 #include <ao_packet.h>
+#include <ao_send_packet.h>
 
 int
 main(void)
@@ -36,6 +37,7 @@ main(void)
 
        ao_adc_init();
        ao_cmd_init();
+       ao_send_packet_init();
 
        ao_usb_init();
        ao_radio_init();