Code Cleanup: Remove #if 0 code

As a personal habit I tend to use the C pre-processor to
comment out code blocks I don't want to remove. This is in
case the code will be required in the future.

I think it is now safe to say the code commented out is not
required -- most of it is legacy and marks the transition from
earlier designs or legacy code.

I've done this in one big commit since in theory it has no
functional change, and in future can look in this commit for any
code we may want to reinstate.
This commit is contained in:
Mark Liversedge
2013-02-11 15:00:00 +00:00
parent 0cb46687ab
commit cd2fca9346
17 changed files with 15 additions and 395 deletions

View File

@@ -63,24 +63,6 @@ static DeviceType SupportedDevices[] =
"replay back, with a little randomness thrown in.",
"" },
#endif
// The Quarqd device has been deprecated since we now have native ANT+ support
// We have kept the code in the codebase in case it emerges later that there is
// a compelling reason to keep it. It might be useful for testing for example.
//
// The GC server, has actually been written (see simpleserver.py) but the code for
// racing has not been coded up. It may be as simple as adding 'dots' on the
// workout plot, but lets see that in 3.1
//
#if 0
{ DEV_GSERVER, DEV_TCP, (char *) "Golden Cheetah Server", false, false,
"Golden Cheetah racing server, not curently supported." },
{ DEV_ANTPLUS, DEV_QUARQ, (char *) "ANT+ via Quarqd", true, false,
"ANT+ devices such as SRM, Powertap or Quarq power meters, Heart rate belts, "
"speed or cadence meters via an existing Quarqd server" ,
":images/devices/quarqd.png" },
#endif
{ 0, 0, NULL, 0, 0, "", "" }
};