| * @brief Depicts the LED and their mappings and group actions |
| /** @brief Define possible actions on a given LED. |
| * For the BLINK operation, follow 50-50 duty cycle |
| /** @brief Name of the LED and it's proposed action. |
| * This structure is supplied as configuration at build time |
| // Order LEDs such that same LEDs are grouped next to |
| // each other and the same LEDs are in priority order |
| // with the highest priority coming first |
| bool operator<(const LedAction& right) const |
| if (action == right.action) |
| else if (action == priority) |
| return name < right.name; |