Fix most compiler warnings
This commit is contained in:
parent
f38b90ad52
commit
dbf796256b
28 changed files with 122 additions and 145 deletions
|
|
@ -93,7 +93,7 @@ void PolychromeController::SetAllColors(unsigned char red, unsigned char green,
|
|||
}
|
||||
}
|
||||
|
||||
void PolychromeController::SetLEDColor(unsigned int led, unsigned char red, unsigned char green, unsigned char blue)
|
||||
void PolychromeController::SetLEDColor(unsigned int /*led*/, unsigned char red, unsigned char green, unsigned char blue)
|
||||
{
|
||||
if (asr_led)
|
||||
{
|
||||
|
|
@ -117,4 +117,4 @@ void PolychromeController::SetMode(unsigned char mode)
|
|||
{
|
||||
bus->i2c_smbus_write_byte_data(dev, POLYCHROME_REG_MODE, mode);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue