~aleteoryx/muditaos

63f235d2c5f6eabeddeffed01d3438030936bac9 — Borys Jelenski 4 years ago d05de19
[EGD-6007] Fix stack usage of SystemWatchdog task

Also, task name changed to follow the convention
M module-sys/SystemWatchdog/SystemWatchdog.cpp => module-sys/SystemWatchdog/SystemWatchdog.cpp +1 -1
@@ 12,7 12,7 @@ namespace sys
{
    using namespace cpp_freertos;

    static constexpr uint16_t stackDepthWords = 256;
    static constexpr uint16_t stackDepthWords = 64;

    SystemWatchdog::SystemWatchdog()
        : Thread(threadName, stackDepthWords, static_cast<UBaseType_t>(ServicePriority::High))

M module-sys/SystemWatchdog/SystemWatchdog.hpp => module-sys/SystemWatchdog/SystemWatchdog.hpp +1 -1
@@ 22,7 22,7 @@ namespace sys
    class SystemWatchdog : public Watchdog, private cpp_freertos::Thread
    {
      public:
        static constexpr auto threadName = "System_Watchdog";
        static constexpr auto threadName = "SystemWatchdog";

        SystemWatchdog(const SystemWatchdog &) = delete;
        SystemWatchdog(SystemWatchdog &&)      = delete;