projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
altosui: Pull out BlueTooth support
[fw/altos]
/
altosui
/
libaltos
/
libaltos.h
diff --git
a/altosui/libaltos/libaltos.h
b/altosui/libaltos/libaltos.h
index f710919c510ade1ba1fb96c026c45b9f6cee15fb..dd091e51333ceae96ca7a462c4dc24d3207bc426 100644
(file)
--- a/
altosui/libaltos/libaltos.h
+++ b/
altosui/libaltos/libaltos.h
@@
-34,6
+34,8
@@
# define PUBLIC
#endif
# define PUBLIC
#endif
+#define HAS_BLUETOOTH 0
+
#define USB_VENDOR_FSF 0xfffe
#define USB_VENDOR_ALTUSMETRUM USB_VENDOR_FSF
#define USB_PRODUCT_ALTUSMETRUM 0x000a
#define USB_VENDOR_FSF 0xfffe
#define USB_VENDOR_ALTUSMETRUM USB_VENDOR_FSF
#define USB_PRODUCT_ALTUSMETRUM 0x000a
@@
-109,6
+111,8
@@
altos_flush(struct altos_file *file);
PUBLIC int
altos_getchar(struct altos_file *file, int timeout);
PUBLIC int
altos_getchar(struct altos_file *file, int timeout);
+#if HAS_BLUETOOTH
+
PUBLIC struct altos_bt_list *
altos_bt_list_start(int inquiry_time);
PUBLIC struct altos_bt_list *
altos_bt_list_start(int inquiry_time);
@@
-124,4
+128,6
@@
altos_bt_fill_in(char *name, char *addr, struct altos_bt_device *device);
PUBLIC struct altos_file *
altos_bt_open(struct altos_bt_device *device);
PUBLIC struct altos_file *
altos_bt_open(struct altos_bt_device *device);
+#endif
+
#endif /* _LIBALTOS_H_ */
#endif /* _LIBALTOS_H_ */