diff --git a/src/amdmasync.h.gch b/src/amdmasync.h.gch deleted file mode 100644 index 171c0f8..0000000 Binary files a/src/amdmasync.h.gch and /dev/null differ diff --git a/src/iqdmasync.h b/src/iqdmasync.h index fb5d364..24a78df 100644 --- a/src/iqdmasync.h +++ b/src/iqdmasync.h @@ -11,9 +11,7 @@ class iqdmasync:public bufferdma,public clkgpio,public pwmgpio,public pcmgpio { - public: - int ModeIQ=MODE_IQ; //patch (LU7DID-PEC): place ModeIQ as public so it can be changed from a calling program 3-May-2020 - + protected: uint64_t tunefreq; bool syncwithpwm; diff --git a/src/librpitx.a b/src/librpitx.a deleted file mode 100644 index eb22ed9..0000000 Binary files a/src/librpitx.a and /dev/null differ diff --git a/src/util.cpp b/src/util.cpp index e9e5943..77b55a1 100644 --- a/src/util.cpp +++ b/src/util.cpp @@ -7,6 +7,11 @@ void dbg_setlevel(int Level) debug_level=Level; } +int dbg_getlevel() +{ + return debug_level; +} + void dbg_printf(int Level, const char *fmt, ...) { if (Level <= debug_level) diff --git a/src/util.h b/src/util.h index 3ed77ae..64c1069 100644 --- a/src/util.h +++ b/src/util.h @@ -5,6 +5,7 @@ #include void dbg_setlevel(int Level); +int dbg_getlevel(); void dbg_printf(int Level, const char *fmt, ...); #endif \ No newline at end of file diff --git a/src/util.o b/src/util.o new file mode 100644 index 0000000..7ea8ffc Binary files /dev/null and b/src/util.o differ