Suppressed unused variable warning
This commit is contained in:
parent
1ddc54c229
commit
de9c74dd9a
1 changed files with 2 additions and 0 deletions
|
@ -11,6 +11,7 @@ Module::Module(int rx, int tx, HardwareSerial* useSer) {
|
||||||
ModuleSerial = useSer;
|
ModuleSerial = useSer;
|
||||||
#else
|
#else
|
||||||
ModuleSerial = new SoftwareSerial(_rx, _tx);
|
ModuleSerial = new SoftwareSerial(_rx, _tx);
|
||||||
|
(void)useSer;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -37,6 +38,7 @@ Module::Module(int cs, int int0, int int1, int rx, int tx, SPIClass& spi, SPISet
|
||||||
ModuleSerial = useSer;
|
ModuleSerial = useSer;
|
||||||
#else
|
#else
|
||||||
ModuleSerial = new SoftwareSerial(_rx, _tx);
|
ModuleSerial = new SoftwareSerial(_rx, _tx);
|
||||||
|
(void)useSer;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue