EGD-2955 EGD-3588 Timers fully refactored & updated (#721)

* Timers now are Application thread safe
* Timers now have consistent API independend of Application (no more c style timers)
* Timers can have either: callback or override onTimer() method - this
  way we can create more complicated timers or just use existing ones
* gui::Timer added via adapter class GuiTimer to decouple sys::Timer
  with gui::Timer
* Fixed race in wrapper
* Updated docs
* fixed using std and cpp_freertos and DataReceivedHandler hidden in Application.hpp
This commit is contained in:
Adam
2020-10-02 14:04:57 +02:00
committed by GitHub
parent 746c0decc0
commit f5f27d642f
119 changed files with 1078 additions and 764 deletions

View File

@@ -5,6 +5,7 @@
#include "../messages/EVMessages.hpp"
#include "../Constants.hpp"
#include <Service/Bus.hpp>
bsp::Board EventManagerServiceAPI::GetBoard(sys::Service *serv)
{
@@ -16,7 +17,7 @@ bsp::Board EventManagerServiceAPI::GetBoard(sys::Service *serv)
sevm::EVMBoardResponseMessage *response = dynamic_cast<sevm::EVMBoardResponseMessage *>(ret.second.get());
if (response != nullptr) {
if ((ret.first == sys::ReturnCodes::Success)) {
if (ret.first == sys::ReturnCodes::Success) {
return response->board;
}
}