fix ci build

This commit is contained in:
hathach 2020-10-25 21:54:45 +07:00
parent d767c7cc2a
commit e2cdeb0fb8
2 changed files with 9 additions and 7 deletions

View file

@ -62,7 +62,7 @@ jobs:
asset_content_type: application/octet-stream
if: ${{ github.event_name == 'release' }}
build-arm:
ARM:
runs-on: ubuntu-latest
strategy:
fail-fast: false

View file

@ -48,12 +48,6 @@ static TimerHandle_t timer_hdl = NULL;
#ifdef PIN_NEOPIXEL
static led_strip_t *strip;
void board_rgb_write(uint8_t const rgb[])
{
strip->set_pixel(strip, 0, rgb[0], rgb[1], rgb[2]);
strip->refresh(strip, 100);
}
#endif
extern int main(void);
@ -169,6 +163,14 @@ void board_led_write(uint32_t state)
(void) state;
}
void board_rgb_write(uint8_t const rgb[])
{
#ifdef PIN_NEOPIXEL
strip->set_pixel(strip, 0, rgb[0], rgb[1], rgb[2]);
strip->refresh(strip, 100);
#endif
}
//--------------------------------------------------------------------+
// Timer
//--------------------------------------------------------------------+