mstrthealias / TeensyFanController

PC fan controller with fixed, PID, and percent-table control (using temperature sensor readings)
MIT License
17 stars 5 forks source link

Wrap runtime config protobuf(s) in a union message #7

Open mstrthealias opened 4 years ago

mstrthealias commented 4 years ago

To support a possible RuntimeConfigV2, use a union message to wrap the RuntimeConfigV1 protobuf.

Fe.: https://developers.google.com/protocol-buffers/docs/techniques#union https://github.com/nanopb/nanopb/tree/master/examples/using_union_messages