Version 1.7.0

-Update readme
-Log the correct time when retrying a TX
-Increment version for official release (from now on the only changes on
the master branch should be official releases)
This commit is contained in:
ANT-Shane
2014-02-20 11:46:47 -07:00
parent 9200d293c0
commit 7eabf67844
3 changed files with 9 additions and 7 deletions

View File

@@ -7,9 +7,9 @@ This repository contains the source to build the ANT HAL library (antradio_libra
### master ###
Versions that have been tested and are suitable for consumer devices.
### development ###
The latest, untested, development versions. These are made available for silicon vendors to verify code changes on parts/boards not available to ANT Wireless engineers.
### features/_branch name_ ###
The latest, untested, development versions of new features and fixes. These are made available for silicon vendors to verify code changes on new parts/boards not yet available to ANT Wireless engineers.
### <X>_debug ###
Unmaintained, unsupported and untested code. These branches are purely used as a means of distributing in-progress work between engineers at different sites. They generally contain features and fixes developed by third parties.
### Third party submissions ###
If you have code changes (new features, improvements or bug fixes), you should submit a pull request to master. These will be considered, and added to master if accepted, or a features branch if further verification is required.

View File

@@ -791,6 +791,9 @@ ANTStatus ant_tx_message(ANT_U8 ucLen, ANT_U8 *pucMesg)
case ANT_STATUS_TRANSPORT_UNSPECIFIED_ERROR:
{
ANT_DEBUG_D("Command Complete: ANT_STATUS_UNSPECIFIED_ERROR");
// Give the chip a break before we try to resend data.
nanosleep((struct timespec[]){{0, 50000000}}, NULL);
time_t currentTime = time(NULL);
@@ -798,7 +801,6 @@ ANTStatus ant_tx_message(ANT_U8 ucLen, ANT_U8 *pucMesg)
{
if(currentTime < endTime)
{
nanosleep((struct timespec[]){{0, 50000000}}, NULL);
ANT_DEBUG_V("Retrying. Current time = %d. "
"End time = %d", (int)currentTime, (int)endTime);

View File

@@ -20,8 +20,8 @@
#define __ANT_VERSION_H
#define LIBANT_STACK_MAJOR "1"
#define LIBANT_STACK_MINOR "6"
#define LIBANT_STACK_INCRE "3"
#define LIBANT_STACK_MINOR "7"
#define LIBANT_STACK_INCRE "0"
#endif // __ANT_VERSION_H