diff --git a/src/energenie/drv/trace.h b/src/energenie/drv/trace.h index 20a0ca9..abf396a 100644 --- a/src/energenie/drv/trace.h +++ b/src/energenie/drv/trace.h @@ -11,7 +11,7 @@ #ifndef _TRACE_H #define _TRACE_H -#define TRACE_POSIX +//#define TRACE_POSIX /* POSIX IMPLEMENTATION */ /* Printf is not available on some platforms, or not very efficient. diff --git a/src/energenie/radio2.py b/src/energenie/radio2.py index 70dee9b..b6e9716 100644 --- a/src/energenie/radio2.py +++ b/src/energenie/radio2.py @@ -16,8 +16,8 @@ #TODO: Should really add parameter validation here, so that C code doesn't have to. #although it will be faster in C (C could be made optional, like an assert?) -#LIBNAME = "drv/radio_rpi.so" -LIBNAME = "drv/radio_mac.so" # testing +LIBNAME = "drv/radio_rpi.so" +#LIBNAME = "drv/radio_mac.so" # testing import time import ctypes @@ -205,7 +205,7 @@ def spi_trace(msg): - print(str(msg)) + pass #print(str(msg)) def spi_reset():