From c7b6b9a99bd99a46897a922b6e4c1ec44ffb3f8c Mon Sep 17 00:00:00 2001 From: Yuri D'Elia Date: Fri, 30 Sep 2022 12:55:26 +0200 Subject: [PATCH] cleanup: Suppress unused argument warnings --- Firmware/mmu2.cpp | 2 ++ Firmware/mmu2_reporting.cpp | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Firmware/mmu2.cpp b/Firmware/mmu2.cpp index 95e234e74..365ac4b71 100644 --- a/Firmware/mmu2.cpp +++ b/Firmware/mmu2.cpp @@ -380,6 +380,8 @@ bool MMU2::set_filament_type(uint8_t index, uint8_t type) { return false; // @@TODO - this is not supported in the new MMU yet + index = index; // @@TODO + type = type; // @@TODO // cmd_arg = filamentType; // command(MMU_CMD_F0 + index); diff --git a/Firmware/mmu2_reporting.cpp b/Firmware/mmu2_reporting.cpp index 33b221acc..d63bb681e 100644 --- a/Firmware/mmu2_reporting.cpp +++ b/Firmware/mmu2_reporting.cpp @@ -13,12 +13,12 @@ namespace MMU2 { const char * ProgressCodeToText(uint16_t pc); // we may join progress convertor and reporter together -void BeginReport(CommandInProgress cip, uint16_t ec) { +void BeginReport(CommandInProgress /*cip*/, uint16_t ec) { custom_message_type = CustomMsg::MMUProgress; lcd_setstatuspgm( _T(ProgressCodeToText(ec)) ); } -void EndReport(CommandInProgress cip, uint16_t ec) { +void EndReport(CommandInProgress /*cip*/, uint16_t /*ec*/) { // clear the status msg line - let the printed filename get visible again custom_message_type = CustomMsg::Status; }