This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <cstdint> | |
#include <GL/glew.h> | |
#include "SDL.h" | |
#define INITIAL_WINDOW_WIDTH 600 | |
#define INITIAL_WINDOW_HEIGHT 600 | |
static inline void bailSDL(char *msg) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/ui.c b/ui.c | |
index 27519aa..d265d74 100644 | |
--- a/ui.c | |
+++ b/ui.c | |
@@ -24,6 +24,7 @@ | |
#include "nanovna.h" | |
#include <stdlib.h> | |
#include <string.h> | |
+#include <ctype.h> | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/Makefile b/src/Makefile | |
index 4f66cf6..5cc3414 100644 | |
--- a/src/Makefile | |
+++ b/src/Makefile | |
@@ -1,9 +1,9 @@ | |
LDFLAGS=`pkg-config --libs libusb-1.0` | |
-CFLAGS=-Wall -O2 `pkg-config --cflags libusb-1.0` | |
+CFLAGS=-Wall -DDEBUG -O2 `pkg-config --cflags libusb-1.0` | |
all: rtl-sdr |