cleanup: Suppress unused argument warnings

This commit is contained in:
Yuri D'Elia 2022-09-30 12:55:26 +02:00
parent b95d508574
commit c7b6b9a99b
2 changed files with 4 additions and 2 deletions

View File

@ -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);

View File

@ -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;
}