From 799870e1f1f87950df50580f9eacac550c19de14 Mon Sep 17 00:00:00 2001 From: Ain <41307858+nero@users.noreply.github.com> Date: Mon, 2 Apr 2018 11:03:48 +0000 Subject: [PATCH] Improve readability --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index 4b8d834..7d315af 100644 --- a/Makefile +++ b/Makefile @@ -49,9 +49,11 @@ deps.mk: *.c drivers/*.c # flashing definitions and helper target AVRDUDE_ARGS += -p$(MCU_TARGET) AVRDUDE_ARGS += -c$(AVRDUDE_TYPE) + ifdef AVRDUDE_TTY AVRDUDE_ARGS += -P$(AVRDUDE_TTY) endif + ifdef AVRDUDE_BAUD AVRDUDE_ARGS += -b$(AVRDUDE_BAUD) endif