fix ci build
This commit is contained in:
parent
d767c7cc2a
commit
e2cdeb0fb8
2 changed files with 9 additions and 7 deletions
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
//--------------------------------------------------------------------+
|
||||
|
|
|
|||
Loading…
Reference in a new issue