mirror of
https://github.com/DCC-EX/CommandStation-EX.git
synced 2024-12-23 21:01:25 +01:00
Suppress compiler warnings.
This commit is contained in:
parent
aad0d28d1f
commit
5439dd3158
@ -115,6 +115,7 @@ protected:
|
|||||||
// for I2C to complete.
|
// for I2C to complete.
|
||||||
/////////////////////////////////////////////////
|
/////////////////////////////////////////////////
|
||||||
DisplayInterface* loop2(bool force) override {
|
DisplayInterface* loop2(bool force) override {
|
||||||
|
(void)force; // suppress compiler warning
|
||||||
|
|
||||||
// Loop through the buffer and if a row has changed
|
// Loop through the buffer and if a row has changed
|
||||||
// (rowGeneration[row] is changed) then start writing the
|
// (rowGeneration[row] is changed) then start writing the
|
||||||
|
@ -98,7 +98,8 @@ private:
|
|||||||
|
|
||||||
// Device-specific writeAnalogue function, invoked from IODevice::writeAnalogue().
|
// Device-specific writeAnalogue function, invoked from IODevice::writeAnalogue().
|
||||||
//
|
//
|
||||||
void _writeAnalogue(VPIN vpin, int value, uint8_t profile, uint16_t duration) override {
|
void _writeAnalogue(VPIN vpin, int value, uint8_t param1, uint16_t param2) override {
|
||||||
|
(void)param1; (void)param2; // suppress compiler warning
|
||||||
#ifdef DIAG_IO
|
#ifdef DIAG_IO
|
||||||
DIAG(F("PCA9685pwm WriteAnalogue Vpin:%d Value:%d Profile:%d Duration:%d %S"),
|
DIAG(F("PCA9685pwm WriteAnalogue Vpin:%d Value:%d Profile:%d Duration:%d %S"),
|
||||||
vpin, value, profile, duration, _deviceState == DEVSTATE_FAILED?F("DEVSTATE_FAILED"):F(""));
|
vpin, value, profile, duration, _deviceState == DEVSTATE_FAILED?F("DEVSTATE_FAILED"):F(""));
|
||||||
|
Loading…
Reference in New Issue
Block a user