[Pkg-running-devel] [antpm] 10/48: gant: convert comments to C style
Kristof Ralovich
ralovich-guest at moszumanska.debian.org
Mon Aug 11 10:10:31 UTC 2014
This is an automated email from the git hooks/post-receive script.
ralovich-guest pushed a commit to branch upstream
in repository antpm.
commit eed211d3ace55dcd5a26df1d01f73c513fd747fe
Author: RALOVICH, Kristof <tade60 at freemail.hu>
Date: Wed Mar 26 09:47:47 2014 +0100
gant: convert comments to C style
---
src/gant/antlib.h | 2 +-
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
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-running/antpm.git
More information about the Pkg-running-devel
mailing list