Rework Cmd exposed API, use more static and fix [-Wmissing-prototypes], ongoing...

This commit is contained in:
Philippe Teuwen 2019-04-12 01:55:25 +02:00
commit f6a6ec8447
21 changed files with 760 additions and 746 deletions

View file

@ -1141,7 +1141,7 @@ int PSKDemod(const char *Cmd, bool verbose) {
return 1;
}
int CmdIdteckDemod(const char *Cmd) {
static int CmdIdteckDemod(const char *Cmd) {
(void)Cmd; // Cmd is not used so far
if (!PSKDemod("", false)) {
@ -1202,6 +1202,11 @@ int CmdIdteckDemod(const char *Cmd) {
return 1;
}
int demodIdteck(void) {
return CmdIdteckDemod("");
}
// by marshmellow
// takes 3 arguments - clock, invert, maxErr as integers
// attempts to demodulate nrz only