From 25d636c9e04df40a7e44e38e7209d3c72c3487b8 Mon Sep 17 00:00:00 2001 From: Richard Wackerbarth Date: Sun, 4 Oct 2015 10:33:55 -0500 Subject: [PATCH] Compiler issues (PR#2696) --- Marlin/Marlin_main.cpp | 2 ++ Marlin/temperature.cpp | 1 + 2 files changed, 3 insertions(+) diff --git a/Marlin/Marlin_main.cpp b/Marlin/Marlin_main.cpp index e445dec3a..066845a32 100644 --- a/Marlin/Marlin_main.cpp +++ b/Marlin/Marlin_main.cpp @@ -7056,6 +7056,8 @@ void manage_inactivity(bool ignore_stepper_queue/*=false*/) { void kill(const char* lcd_msg) { #if ENABLED(ULTRA_LCD) lcd_setalertstatuspgm(lcd_msg); + #else + UNUSED(lcd_msg); #endif cli(); // Stop interrupts diff --git a/Marlin/temperature.cpp b/Marlin/temperature.cpp index 131be9776..40d1a4bfc 100644 --- a/Marlin/temperature.cpp +++ b/Marlin/temperature.cpp @@ -796,6 +796,7 @@ static float analog2tempBed(int raw) { #else + UNUSED(raw); return 0; #endif