| 982 | return ret; |
| 983 | } |
| 984 | bool encode_toggle_input_states(pb_ostream_t *stream, const pb_field_t *field, void *const *arg) |
| 985 | { |
| 986 | proto_ToggleInputState proto_toggle; |
| 987 | for (auto &state : toggle_input_states) |
| 988 | { |
| 989 | proto_toggle.id = state.first; |
| 990 | proto_toggle.state = state.second; |
| 991 | pb_encode_tag_for_field(stream, field); |
| 992 | pb_encode_submessage(stream, proto_ToggleInputState_fields, &proto_toggle); |
| 993 | } |
| 994 | return true; |
| 995 | } |
| 996 | bool inner_load(const uint32_t currentProfile, const uint8_t *dataPtr, uint32_t size, uint32_t mainSize, uint32_t auxSize) |
| 997 | { |
| 998 |
nothing calls this directly
no test coverage detected