Fix compiler warnings about unused parameters
This commit is contained in:
@@ -12,6 +12,9 @@ CarrierHeatpumpIR::CarrierHeatpumpIR() : HeatpumpIR()
|
|||||||
|
|
||||||
void CarrierHeatpumpIR::send(IRSender& IR, byte powerModeCmd, byte operatingModeCmd, byte fanSpeedCmd, byte temperatureCmd, byte swingVCmd, byte swingHCmd)
|
void CarrierHeatpumpIR::send(IRSender& IR, byte powerModeCmd, byte operatingModeCmd, byte fanSpeedCmd, byte temperatureCmd, byte swingVCmd, byte swingHCmd)
|
||||||
{
|
{
|
||||||
|
(void)swingVCmd;
|
||||||
|
(void)swingHCmd;
|
||||||
|
|
||||||
// Sensible defaults for the heat pump mode
|
// Sensible defaults for the heat pump mode
|
||||||
|
|
||||||
byte operatingMode = CARRIER_AIRCON1_MODE_HEAT;
|
byte operatingMode = CARRIER_AIRCON1_MODE_HEAT;
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ HeatpumpIR::HeatpumpIR()
|
|||||||
}
|
}
|
||||||
|
|
||||||
// This is a virtual function, i.e. never called
|
// This is a virtual function, i.e. never called
|
||||||
void HeatpumpIR::send(IRSender& IR, byte powerModeCmd, byte operatingModeCmd, byte fanSpeedCmd, byte temperatureCmd, byte swingVCmd, byte swingHCmd)
|
void HeatpumpIR::send(IRSender&, byte, byte, byte, byte, byte, byte)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -12,6 +12,9 @@ HisenseHeatpumpIR::HisenseHeatpumpIR() : HeatpumpIR()
|
|||||||
|
|
||||||
void HisenseHeatpumpIR::send(IRSender& IR, byte powerModeCmd, byte operatingModeCmd , byte fanSpeedCmd , byte temperatureCmd , byte swingVCmd , byte swingHCmd )
|
void HisenseHeatpumpIR::send(IRSender& IR, byte powerModeCmd, byte operatingModeCmd , byte fanSpeedCmd , byte temperatureCmd , byte swingVCmd , byte swingHCmd )
|
||||||
{
|
{
|
||||||
|
(void)swingVCmd;
|
||||||
|
(void)swingHCmd;
|
||||||
|
|
||||||
// Sensible defaults for the heat pump mode
|
// Sensible defaults for the heat pump mode
|
||||||
|
|
||||||
byte powerMode = HISENSE_AIRCON1_POWER_ON;
|
byte powerMode = HISENSE_AIRCON1_POWER_ON;
|
||||||
@@ -81,6 +84,9 @@ void HisenseHeatpumpIR::send(IRSender& IR, byte powerModeCmd, byte operatingMode
|
|||||||
// Send the Hisense code
|
// Send the Hisense code
|
||||||
void HisenseHeatpumpIR::sendHisense(IRSender& IR, byte powerMode, byte operatingMode, byte fanSpeed, byte temperature, byte swingV ,byte swingH)
|
void HisenseHeatpumpIR::sendHisense(IRSender& IR, byte powerMode, byte operatingMode, byte fanSpeed, byte temperature, byte swingV ,byte swingH)
|
||||||
{
|
{
|
||||||
|
(void)swingV;
|
||||||
|
(void)swingH;
|
||||||
|
|
||||||
byte HisenseTemplate[] = { 0x87, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, // Header byte 0-1
|
byte HisenseTemplate[] = { 0x87, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, // Header byte 0-1
|
||||||
0x00, 0x00, 0x00, 0x0C, 0x00, 0x00, 0x00 }; //
|
0x00, 0x00, 0x00, 0x0C, 0x00, 0x00, 0x00 }; //
|
||||||
|
|
||||||
|
|||||||
@@ -12,6 +12,9 @@ MideaHeatpumpIR::MideaHeatpumpIR() : HeatpumpIR()
|
|||||||
|
|
||||||
void MideaHeatpumpIR::send(IRSender& IR, byte powerModeCmd, byte operatingModeCmd, byte fanSpeedCmd, byte temperatureCmd, byte swingVCmd, byte swingHCmd)
|
void MideaHeatpumpIR::send(IRSender& IR, byte powerModeCmd, byte operatingModeCmd, byte fanSpeedCmd, byte temperatureCmd, byte swingVCmd, byte swingHCmd)
|
||||||
{
|
{
|
||||||
|
(void)swingVCmd;
|
||||||
|
(void)swingHCmd;
|
||||||
|
|
||||||
// Sensible defaults for the heat pump mode
|
// Sensible defaults for the heat pump mode
|
||||||
byte operatingMode = MIDEA_AIRCON1_MODE_HEAT;
|
byte operatingMode = MIDEA_AIRCON1_MODE_HEAT;
|
||||||
byte fanSpeed = MIDEA_AIRCON1_FAN_AUTO;
|
byte fanSpeed = MIDEA_AIRCON1_FAN_AUTO;
|
||||||
|
|||||||
@@ -12,6 +12,9 @@ SamsungHeatpumpIR::SamsungHeatpumpIR() : HeatpumpIR()
|
|||||||
|
|
||||||
void SamsungHeatpumpIR::send(IRSender& IR, byte powerModeCmd, byte operatingModeCmd, byte fanSpeedCmd, byte temperatureCmd, byte swingVCmd, byte swingHCmd)
|
void SamsungHeatpumpIR::send(IRSender& IR, byte powerModeCmd, byte operatingModeCmd, byte fanSpeedCmd, byte temperatureCmd, byte swingVCmd, byte swingHCmd)
|
||||||
{
|
{
|
||||||
|
(void)swingVCmd;
|
||||||
|
(void)swingHCmd;
|
||||||
|
|
||||||
// Sensible defaults for the heat pump mode
|
// Sensible defaults for the heat pump mode
|
||||||
|
|
||||||
byte powerMode = SAMSUNG_AIRCON1_MODE_ON;
|
byte powerMode = SAMSUNG_AIRCON1_MODE_ON;
|
||||||
|
|||||||
Reference in New Issue
Block a user