mirror of
https://github.com/DCC-EX/CommandStation-EX.git
synced 2024-11-23 08:06:13 +01:00
Fix Uno/Nano build errors
This commit is contained in:
parent
ff9c558b61
commit
57d4655d54
|
@ -133,8 +133,8 @@ EXTTTurntable::EXTTTurntable(uint16_t id, uint8_t i2caddress, VPIN vpin) :
|
||||||
}
|
}
|
||||||
|
|
||||||
// Create function
|
// Create function
|
||||||
#ifndef IO_NO_HAL
|
|
||||||
Turntable *EXTTTurntable::create(uint16_t id, uint8_t i2caddress, VPIN vpin) {
|
Turntable *EXTTTurntable::create(uint16_t id, uint8_t i2caddress, VPIN vpin) {
|
||||||
|
#ifndef IO_NO_HAL
|
||||||
Turntable *tto = get(id);
|
Turntable *tto = get(id);
|
||||||
if (tto) {
|
if (tto) {
|
||||||
if (tto->isType(TURNTABLE_EXTT)) {
|
if (tto->isType(TURNTABLE_EXTT)) {
|
||||||
|
@ -153,7 +153,6 @@ EXTTTurntable::EXTTTurntable(uint16_t id, uint8_t i2caddress, VPIN vpin) :
|
||||||
(void)id;
|
(void)id;
|
||||||
(void)i2caddress;
|
(void)i2caddress;
|
||||||
(void)vpin;
|
(void)vpin;
|
||||||
(void)positions;
|
|
||||||
return NULL;
|
return NULL;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user