Merge TactilityHeadless into Tactility (#263)
There currently is no practical use to have TactilityHeadless as a subproject. I'm merging it with the Tactility project.
This commit is contained in:
committed by
GitHub
parent
d0ca3b16f8
commit
d72852a6e2
@@ -0,0 +1,24 @@
|
||||
#include "Tactility/service/wifi/Wifi.h"
|
||||
|
||||
namespace tt::service::wifi {
|
||||
|
||||
const char* radioStateToString(RadioState state) {
|
||||
switch (state) {
|
||||
using enum RadioState;
|
||||
case OnPending:
|
||||
return TT_STRINGIFY(OnPending);
|
||||
case On:
|
||||
return TT_STRINGIFY(On);
|
||||
case ConnectionPending:
|
||||
return TT_STRINGIFY(ConnectionPending);
|
||||
case ConnectionActive:
|
||||
return TT_STRINGIFY(ConnectionActive);
|
||||
case OffPending:
|
||||
return TT_STRINGIFY(OnPending);
|
||||
case Off:
|
||||
return TT_STRINGIFY(Off);
|
||||
}
|
||||
tt_crash("not implemented");
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user