mirror of
https://github.com/DCC-EX/CommandStation-EX.git
synced 2024-11-26 17:46:14 +01:00
disable ESP32 code that is not used
This commit is contained in:
parent
ecda69ba32
commit
e1fd6e9414
|
@ -87,6 +87,8 @@ INTERRUPT_CALLBACK interruptHandler=0;
|
|||
portMUX_TYPE timerMux = portMUX_INITIALIZER_UNLOCKED;
|
||||
|
||||
void DCCTimer::begin(INTERRUPT_CALLBACK callback) {
|
||||
// This should not be called on ESP32 so disable it
|
||||
return;
|
||||
interruptHandler = callback;
|
||||
hw_timer_t *timer = NULL;
|
||||
timer = timerBegin(0, 2, true); // prescaler can be 2 to 65536 so choose 2
|
||||
|
|
Loading…
Reference in New Issue
Block a user