diff options
author | RALOVICH, Kristof <tade60@freemail.hu> | 2014-03-26 09:47:47 +0100 |
---|---|---|
committer | RALOVICH, Kristof <tade60@freemail.hu> | 2014-03-26 09:47:47 +0100 |
commit | eed211d3ace55dcd5a26df1d01f73c513fd747fe (patch) | |
tree | 5c6bfe52d2bbd5e3e3b1b5fb588926499d27224b /src/gant | |
parent | b593211fdab67b50154bf0edae2bad7d64382ea7 (diff) |
gant: convert comments to C style
Diffstat (limited to 'src/gant')
-rw-r--r-- | src/gant/antlib.h | 2 | ||||
-rw-r--r-- | src/gant/gant.c | 10 |
2 files changed, 6 insertions, 6 deletions
diff --git a/src/gant/antlib.h b/src/gant/antlib.h index b121991..89c4929 100644 --- a/src/gant/antlib.h +++ b/src/gant/antlib.h @@ -17,7 +17,7 @@ uchar ANT_SetChannelRFFreq(uchar chan, uchar freq); uchar ANT_SetChannelPeriod(uchar chan, ushort period); uchar ANT_SetChannelSearchTimeout(uchar chan, uchar timeout); uchar ANT_SetSearchWaveform(uchar chan, ushort waveform); -uchar ANT_SendAcknowledgedDataA(uchar chan, uchar *data); // ascii version +uchar ANT_SendAcknowledgedDataA(uchar chan, uchar *data); /* ascii version */ uchar ANT_SendAcknowledgedData(uchar chan, uchar *data); ushort ANT_SendBurstTransferA(uchar chan, uchar *data, ushort numpkts); ushort ANT_SendBurstTransfer(uchar chan, uchar *data, ushort numpkts); diff --git a/src/gant/gant.c b/src/gant/gant.c index 585be4d..fcea651 100644 --- a/src/gant/gant.c +++ b/src/gant/gant.c @@ -82,10 +82,10 @@ int sentgetv; char *fname = "garmin"; time_t garmin_epoch = 631065600; -static const uchar ANTSPT_KEY[] = "A8A423B9F55E63C1"; // ANT+Sport key +static const uchar ANTSPT_KEY[] = "A8A423B9F55E63C1"; /* ANT+Sport key */ -static uchar ebuf[MESG_DATA_SIZE]; // response event data gets stored here -static uchar cbuf[MESG_DATA_SIZE]; // channel event data gets stored here +static uchar ebuf[MESG_DATA_SIZE]; /* response event data gets stored here */ +static uchar cbuf[MESG_DATA_SIZE]; /* channel event data gets stored here */ int passive = 0; int verbose = 0; @@ -112,8 +112,8 @@ ushort part = 0; ushort ver = 0; uint unitid = 0; -//char *getversion = "440dffff00000000fe00000000000000"; -//char *getgpsver = "440dffff0000000006000200ff000000"; +/*char *getversion = "440dffff00000000fe00000000000000";*/ +/*char *getgpsver = "440dffff0000000006000200ff000000";*/ const char *acks[] = { "fe00000000000000", // get version - 255, 248, 253 "0e02000000000000", // device short name (fr405a) - 525 |