thrTraceSrc and potsWarnMode

This commit is contained in:
Raphael Coeffic
2021-11-10 11:07:03 +01:00
parent cc9b146713
commit c6b847c9ac
32 changed files with 257 additions and 60 deletions
@@ -912,3 +912,11 @@ bool w_logicSw(void* user, uint8_t* data, uint32_t bitoffs,
return true;
}
#define r_thrSrc nullptr
bool w_thrSrc(const YamlNode* node, uint32_t val, yaml_writer_func wf, void* opaque)
{
auto src = throttleSource2Source(val);
return w_mixSrcRaw(nullptr, src, wf, opaque);
}