1
0
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:
Harald Barth
2022-06-13 23:15:35 +02:00
parent 744713769c
commit 4833eaac65
4 changed files with 18 additions and 23 deletions

View File

@@ -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) {