From 92ff284f82c2955404800a607f454cf0c298c937 Mon Sep 17 00:00:00 2001 From: Marek Bel Date: Fri, 4 Jan 2019 19:35:33 +0100 Subject: [PATCH] Remove redundant code. --- Firmware/AutoDeplete.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/Firmware/AutoDeplete.cpp b/Firmware/AutoDeplete.cpp index e6323dd9..9593a1fe 100644 --- a/Firmware/AutoDeplete.cpp +++ b/Firmware/AutoDeplete.cpp @@ -56,7 +56,6 @@ void ad_markLoaded(uint8_t filament) uint8_t ad_getAlternative(uint8_t filament) { assert(filament < filamentCount); - if (ad_allDepleted()) return filament; for (uint8_t i = 0; i