summaryrefslogtreecommitdiff
path: root/mtac.h
diff options
context:
space:
mode:
Diffstat (limited to 'mtac.h')
-rw-r--r--mtac.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/mtac.h b/mtac.h
index 1faa104..03e6cd0 100644
--- a/mtac.h
+++ b/mtac.h
@@ -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_ */