1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-02-20 10:54:14 +01:00

pipx bu: apply recent LED changes so BU image builds again

This commit is contained in:
Stacey Sheldon 2012-05-27 21:37:59 -04:00
parent c719d5b6cf
commit decd92f21d

View File

@ -1,4 +1,5 @@
#include <pios_config.h>
#include <pios_board_info.h>
#if defined(PIOS_INCLUDE_LED)
@ -51,6 +52,11 @@ static const struct pios_led_cfg pios_led_cfg = {
.num_leds = NELEMENTS(pios_leds),
};
const struct pios_led_cfg * PIOS_BOARD_HW_DEFS_GetLedCfg (uint32_t board_revision)
{
return &pios_led_cfg;
}
#endif /* PIOS_INCLUDE_LED */
#if defined(PIOS_INCLUDE_SPI)