diff options
-rw-r--r-- | src/RLCMACTest.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/RLCMACTest.cpp b/src/RLCMACTest.cpp index 2b819b75..2ffff8fc 100644 --- a/src/RLCMACTest.cpp +++ b/src/RLCMACTest.cpp @@ -25,6 +25,13 @@ #include <cstring> #include "csn1.h" #include "gsm_rlcmac.h" +extern "C" { +extern const struct log_info gprs_log_info; +#include "pcu_vty.h" +#include <osmocom/vty/telnet_interface.h> +#include <osmocom/vty/logging.h> +#include <osmocom/core/application.h> +} using namespace std; void printSizeofRLCMAC() @@ -198,6 +205,8 @@ void testRlcMacUplink() int main(int argc, char *argv[]) { + osmo_init_logging(&gprs_log_info); + //printSizeofRLCMAC(); testRlcMacDownlink(); testRlcMacUplink(); |