SRV_Channel: remove buggy, unused method

... this may not fit in an int8_t!
This commit is contained in:
Peter Barker 2025-01-28 17:08:18 +11:00 committed by Peter Barker
parent c7b0ba04ef
commit 870b626f0e

View File

@ -284,11 +284,6 @@ public:
// return the motor number of a channel, or -1 if not a motor
int8_t get_motor_num(void) const;
// set and save function for channel. Used in upgrade of parameters in plane
void function_set_and_save(Function f) {
function.set_and_save(int8_t(f));
}
// set and save function for reversed. Used in upgrade of parameters in plane
void reversed_set_and_save_ifchanged(bool r) {
reversed.set_and_save_ifchanged(r?1:0);