mirror of
https://github.com/DCC-EX/CommandStation-EX.git
synced 2025-07-28 09:53:45 +02:00
move all arch dependent port register declarations to MotorDriver.h
This commit is contained in:
@@ -27,9 +27,9 @@
|
||||
|
||||
bool MotorDriver::commonFaultPin=false;
|
||||
|
||||
volatile byte fakePORTA;
|
||||
volatile byte fakePORTB;
|
||||
volatile byte fakePORTC;
|
||||
volatile portreg_t fakePORTA;
|
||||
volatile portreg_t fakePORTB;
|
||||
volatile portreg_t fakePORTC;
|
||||
|
||||
MotorDriver::MotorDriver(VPIN power_pin, byte signal_pin, byte signal_pin2, int8_t brake_pin,
|
||||
byte current_pin, float sense_factor, unsigned int trip_milliamps, byte fault_pin) {
|
||||
|
Reference in New Issue
Block a user