
Example project
Dependencies: PM2_Libary Eigen
Diff: Controller.cpp
- Revision:
- 38:8aae5cbcf25f
- Parent:
- 37:698d6b73b50c
--- a/Controller.cpp Tue May 10 10:04:51 2022 +0200 +++ b/Controller.cpp Tue May 10 11:18:33 2022 +0200 @@ -73,7 +73,7 @@ // start thread and timer interrupt thread.start(callback(this, &Controller::run)); - ticker.attach(callback(this, &Controller::sendThreadFlag), PERIOD); + ticker.attach(callback(this, &Controller::sendThreadFlag), std::chrono::microseconds{static_cast<long int>(1.0e6f * PERIOD)}); } /**