mirror of
https://github.com/eclipse/upm.git
synced 2025-03-15 04:57:30 +03:00
adafruitss: removed ambiguous servo() overload
Overload is unnecessary and SWIG can't handle overloads with the same number of arguments thus it would break the js and py bindings Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
This commit is contained in:
parent
7260c78c33
commit
93595bcd35
@ -105,7 +105,6 @@ namespace upm {
|
||||
* @param degrees angle to set the servo to
|
||||
*/
|
||||
void servo(uint8_t port, uint8_t servo_type, float degrees);
|
||||
void servo(uint8_t port, uint8_t servo_type, uint16_t degrees) { servo(port, servo_type, (float)degrees); }
|
||||
|
||||
private:
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user