Slight bug fix
This commit is contained in:
@@ -41,12 +41,12 @@ class HoermannMainComponent: public Component{
|
|||||||
this->emulator = new HCIEmulator(this->_tx_on, this->_uart);
|
this->emulator = new HCIEmulator(this->_tx_on, this->_uart);
|
||||||
|
|
||||||
this->_tx_on->digital_write(LOW);
|
this->_tx_on->digital_write(LOW);
|
||||||
this->set_continue_ = false;
|
this->set_continue_ = true;
|
||||||
xTaskCreatePinnedToCore(
|
xTaskCreatePinnedToCore(
|
||||||
dispatcherFn, // Function to implement the task
|
dispatcherFn, // Function to implement the task
|
||||||
"ModBusTask", // Name of the task
|
"ModBusTask", // Name of the task
|
||||||
10000, // Stack size in words
|
10000, // Stack size in words
|
||||||
NULL, // Task input parameter
|
true, // Task input parameter
|
||||||
// 1, // Priority of the task
|
// 1, // Priority of the task
|
||||||
configMAX_PRIORITIES - 1,
|
configMAX_PRIORITIES - 1,
|
||||||
&modBusTask, // Task handle.
|
&modBusTask, // Task handle.
|
||||||
|
Reference in New Issue
Block a user