strat: statically allocate additional threads

This commit is contained in:
Michael Scire authored and SciresM committed 2019-12-07 12:41:28 -08:00
1 parent fbb5730369
commit 535e49a38d
17 files changed
+123 -42

No files matched your search

@@ -22,7 +22,7 @@ namespace sts::fatal::srv {
namespace {
/* Task types. */
class PowerControlTask : public ITask {
class PowerControlTask : public ITaskWithDefaultStack {
private:
bool TryShutdown();
void MonitorBatteryState();
@@ -33,7 +33,7 @@ namespace sts::fatal::srv {
}
};
class PowerButtonObserveTask : public ITask {
class PowerButtonObserveTask : public ITaskWithDefaultStack {
private:
void WaitForPowerButton();
public:
@@ -43,7 +43,7 @@ namespace sts::fatal::srv {
}
};
class StateTransitionStopTask : public ITask {
class StateTransitionStopTask : public ITaskWithDefaultStack {
public:
virtual Result Run() override;
virtual const char *GetName() const override {