../../Tools/AP_Periph/rc_in.cpp: In member function 'void AP_Periph_FW::rcin_update()':
../../Tools/AP_Periph/rc_in.cpp:117:31: error: 'class AP_RCProtocol' has no member named 'protocol_name'; did you mean 'protocol_enabled'?
117 | auto new_rc_protocol = rc.protocol_name();
| ^~~~~~~~~~~~~
| protocol_enabled
compilation terminated due to -Wfatal-errors.
The <msg>_encode method always zeros the buffer up to <msg>_MAX_SIZE
bytes so there is no need to do it before calling the function.
Saves at least 8 bytes per instance.