diff options
author | James Bootsma <james.bootsma@thisisant.com> | 2018-03-09 11:32:33 -0700 |
---|---|---|
committer | James Bootsma <james.bootsma@thisisant.com> | 2018-03-09 11:32:33 -0700 |
commit | 4a511e700928ac395481bc362142f6b55da876dc (patch) | |
tree | 3c57539c8b7ef5d6d318afb15b569d91efda6ac9 | |
parent | b403e9197cd222429276dedeec36744e409e3a32 (diff) | |
download | android_external_ant-wireless_ant_native-4a511e700928ac395481bc362142f6b55da876dc.tar.gz android_external_ant-wireless_ant_native-4a511e700928ac395481bc362142f6b55da876dc.tar.bz2 android_external_ant-wireless_ant_native-4a511e700928ac395481bc362142f6b55da876dc.zip |
Roll back prerelease header for build support.
Temporary roll back of the vfs-prerelease header to support some
external builds.
-rw-r--r-- | src/vfs/prerelease/ant_driver_defines.h | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/src/vfs/prerelease/ant_driver_defines.h b/src/vfs/prerelease/ant_driver_defines.h index 3eb5c31..49860c4 100644 --- a/src/vfs/prerelease/ant_driver_defines.h +++ b/src/vfs/prerelease/ant_driver_defines.h @@ -46,17 +46,17 @@ // Set the file name the driver creates for the ANT device:
// If chip uses separate command and data paths:
-// #define ANT_COMMANDS_DEVICE_NAME "/dev/smd5"
-// #define ANT_DATA_DEVICE_NAME "/dev/smd6"
+#define ANT_COMMANDS_DEVICE_NAME "/dev/smd5"
+#define ANT_DATA_DEVICE_NAME "/dev/smd6"
// OR
// If chip uses one path:
-#define ANT_DEVICE_NAME "/dev/ant"
+// #define ANT_DEVICE_NAME "/dev/Z"
// Set to the number of bytes of header is for Opcode:
#define ANT_HCI_OPCODE_SIZE 0
// Set to the number of bytes of header for channel ID
-#define ANT_HCI_CHANNEL_SIZE 1
+#define ANT_HCI_CHANNEL_SIZE 0
// Set to the number of bytes of header is for Data Size:
#define ANT_HCI_SIZE_SIZE 1
@@ -84,8 +84,4 @@ // That signals Flow Stop:
#define ANT_FLOW_STOP ((ANT_U8)0x80)
-// If using a channel ID byte, define the ids.
-#define ANT_HCI_COMMAND_CHANNEL ((ANT_U8)0x0C)
-#define ANT_HCI_DATA_CHANNEL ((ANT_U8)0x0E)
-
#endif /* ifndef __VFS_PRERELEASE_H */
|