Reduce need for UNUSED
This commit is contained in:
@ -138,8 +138,7 @@ void pca9632_set_led_color(const LEDColor &color) {
|
||||
|
||||
#if ENABLED(PCA9632_BUZZER)
|
||||
|
||||
void pca9632_buzz(const long duration, const uint16_t freq) {
|
||||
UNUSED(duration); UNUSED(freq);
|
||||
void pca9632_buzz(const long, const uint16_t) {
|
||||
uint8_t data[] = PCA9632_BUZZER_DATA;
|
||||
Wire.beginTransmission(I2C_ADDRESS(PCA9632_ADDRESS));
|
||||
Wire.write(data, sizeof(data));
|
||||
|
Reference in New Issue
Block a user