Actually enable -R option
authorJoseph C. Lehner <joseph.c.lehner@gmail.com>
Sun, 19 Feb 2017 10:01:04 +0000 (11:01 +0100)
committerJoseph C. Lehner <joseph.c.lehner@gmail.com>
Sun, 19 Feb 2017 10:01:04 +0000 (11:01 +0100)
main.c
nmrpd.h

diff --git a/main.c b/main.c
index 54cad4c5893512c1569ae45da52727f075d66389..11d8d09bc7a181e9206470c10cdfc43c983c50a6 100644 (file)
--- a/main.c
+++ b/main.c
@@ -23,8 +23,6 @@
 #include <stdio.h>
 #include "nmrpd.h"
 
-#define NMRPFLASH_SET_REGION
-
 int verbosity = 0;
 
 void usage(FILE *fp)
diff --git a/nmrpd.h b/nmrpd.h
index c57ef9c415dc198bf129e2bc85fd0d6183ec71a0..d050707b6ae88d4161787e5354922f760d649dcb 100644 (file)
--- a/nmrpd.h
+++ b/nmrpd.h
@@ -65,6 +65,8 @@
 #define PACKED __attribute__((packed))
 #endif
 
+#define NMRPFLASH_SET_REGION
+
 struct eth_hdr {
        uint8_t ether_dhost[6];
        uint8_t ether_shost[6];