1
0
mirror of https://github.com/DCC-EX/CommandStation-EX.git synced 2024-11-23 16:16:13 +01:00

EXTurntable - change I2C address type to I2CAddress.

This commit is contained in:
Neil McKechnie 2023-02-07 18:36:48 +00:00
parent d8881deb6a
commit 31ce2e3fef

View File

@ -385,9 +385,9 @@ private:
class EXTurntable : public IODevice { class EXTurntable : public IODevice {
public: public:
static void create(VPIN firstVpin, int nPins, uint8_t I2CAddress); static void create(VPIN firstVpin, int nPins, I2CAddress I2CAddress);
// Constructor // Constructor
EXTurntable(VPIN firstVpin, int nPins, uint8_t I2CAddress); EXTurntable(VPIN firstVpin, int nPins, I2CAddress I2CAddress);
enum ActivityNumber : uint8_t { enum ActivityNumber : uint8_t {
Turn = 0, // Rotate turntable, maintain phase Turn = 0, // Rotate turntable, maintain phase
Turn_PInvert = 1, // Rotate turntable, invert phase Turn_PInvert = 1, // Rotate turntable, invert phase