NinjaFlight
|
#include <system_calls.h>
Data Fields | |
void(* | on )(const struct system_calls_leds *self, uint8_t led, bool on) |
void(* | toggle )(const struct system_calls_leds *self, uint8_t led) |
System calls for interacting with leds.
void(* system_calls_leds::on)(const struct system_calls_leds *self, uint8_t led, bool on) |
Turns a led on or off. If led is out of range then this function should ignore the command.
void(* system_calls_leds::toggle)(const struct system_calls_leds *self, uint8_t led) |
Toggles a led. If led id is out of range then this function should ignore the command.