From 2a41cec5ae4b1c509f058f2c2bbb4cd998d17bf0 Mon Sep 17 00:00:00 2001 From: "f.aguerre@wanadoo.fr" Date: Sat, 16 Mar 2013 19:58:01 +0000 Subject: [PATCH] Makefile correction --- src/Makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/Makefile b/src/Makefile index c929ca1aa..afa855db3 100644 --- a/src/Makefile +++ b/src/Makefile @@ -249,6 +249,11 @@ endif ifeq ($(PCB), GRUVIN9X) ARCH = AVR + ifeq ($(PCBREV), REV0) + CPPDEFS += -DREV0 + else + CPPDEFS += -DREV1 + endif TRGT = avr- MCU = atmega2560 CPPDEFS += -DF_CPU=$(F_CPU)UL @@ -257,11 +262,6 @@ endif ifeq ($(PCB), MEGA2560) ARCH = AVR - ifeq ($(PCBREV), REV0) - CPPDEFS += -DREV0 - else - CPPDEFS += -DREV1 - endif TRGT = avr- MCU = atmega2560 CPPDEFS += -DF_CPU=$(F_CPU)UL