diff options
author | John Klug <john.klug@multitech.com> | 2018-10-25 15:33:23 -0500 |
---|---|---|
committer | John Klug <john.klug@multitech.com> | 2018-10-25 15:33:23 -0500 |
commit | c0380040166366a290c5e44a977a8acb6e3120ab (patch) | |
tree | 5f37cff21878aca36c6cce18602e488db120f3b4 /mtac.h | |
parent | a173b24ce0703a53ff0b82e90295bb5c1bd34844 (diff) | |
download | mtac-c0380040166366a290c5e44a977a8acb6e3120ab.tar.gz mtac-c0380040166366a290c5e44a977a8acb6e3120ab.tar.bz2 mtac-c0380040166366a290c5e44a977a8acb6e3120ab.zip |
Add mtac_free function to mtac module1.1.0
Diffstat (limited to 'mtac.h')
-rw-r--r-- | mtac.h | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -23,9 +23,6 @@ #define PRODUCT_ID_MTAC_PULSE "MTAC-PULSE" #define PRODUCT_ID_MTAC_XDOT "MTAC-XDOT" - -#define DEBUG 1 - /* Hardware version must be fewer characters than hw_version in struct mts_ap_eeprom_layout */ /* MTAC-LORA with native SPI or FTDI FT4222 */ @@ -48,7 +45,7 @@ enum { MTAC_LORA_1_0, MTAC_LORA_1_1, MTAC_LORA_1_5, - MTAC_PULSE_1_0, + MTAC_PULSE_1_0, MTAC_XDOT_0_0, }; @@ -92,4 +89,5 @@ extern struct gpio_pin *mtac_gpio_pin_by_name(const char *name, int port_index); extern void mtac_clear_port_pins(int port_index); extern int mtac_find(void(*set_info)(struct ap_info* info), const char *target_product_id); extern struct ap_info *mtac_port_info[]; +extern void mtac_free(const char * product_id, bool (* setup)(enum ap port), const char *link); #endif /* IO_MODULE_MTAC_H_ */ |