1
0
mirror of https://github.com/DCC-EX/CommandStation-EX.git synced 2024-11-27 01:56:14 +01:00

Fix Uno/Nano build errors

This commit is contained in:
peteGSX 2023-08-24 07:22:37 +10:00
parent ff9c558b61
commit 57d4655d54

View File

@ -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
} }