RC_Channel: Remove unneeded interfaces

This commit is contained in:
Michael du Breuil 2018-05-25 13:27:29 -07:00 committed by WickedShell
parent c85f8c7bf5
commit 95eda5d9b7
2 changed files with 0 additions and 25 deletions

View File

@ -161,26 +161,6 @@ int16_t RC_Channel::get_control_mid() const
}
}
// ------------------------------------------
void RC_Channel::load_eeprom(void)
{
radio_min.load();
radio_trim.load();
radio_max.load();
reversed.load();
dead_zone.load();
}
void RC_Channel::save_eeprom(void)
{
radio_min.save();
radio_trim.save();
radio_max.save();
reversed.save();
dead_zone.save();
}
/*
return an "angle in centidegrees" (normally -4500 to 4500) from
the current radio_in value using the specified dead_zone

View File

@ -26,11 +26,6 @@ public:
RC_CHANNEL_LIMIT_MAX
};
// startup
void load_eeprom(void);
void save_eeprom(void);
void save_trim(void);
// setup the control preferences
void set_range(uint16_t high);
void set_angle(uint16_t angle);