Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/compile-examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ jobs:
- name: Check if API should be compiled in the core
id: checkapi
run: |
if [[ $(grep -r api platform.txt) ]]; then echo "::set-output name=IS_API::true"; fi
if [[ $(grep -r api platform.txt) ]]; then echo "IS_API=true" >> $GITHUB_OUTPUT; fi

- name: Install ArduinoCore-API
run: rm "$GITHUB_WORKSPACE/cores/arduino/api" && mv "$GITHUB_WORKSPACE/extras/ArduinoCore-API/api" "$GITHUB_WORKSPACE/cores/arduino"
Expand Down
8 changes: 4 additions & 4 deletions libraries/Arduino_LED_Matrix/src/Arduino_LED_Matrix.h
Original file line number Diff line number Diff line change
Expand Up @@ -333,15 +333,15 @@ class ArduinoLEDMatrix

private:
int _currentFrame = 0;
uint32_t _frameHolder[3];
uint32_t* _frames;
uint32_t _framesCount;
uint32_t _frameHolder[3] = {0, 0, 0};
uint32_t* _frames = nullptr;
uint32_t _framesCount = 0;
uint32_t _interval = 0;
uint32_t _lastInterval = 0;
bool _loop = false;
FspTimer _ledTimer;
bool _sequenceDone = false;
voidFuncPtr _callBack;
voidFuncPtr _callBack = nullptr;

static void turnOnLedISR(timer_callback_args_t *arg) {
static volatile int i_isr = 0;
Expand Down
2 changes: 1 addition & 1 deletion variants/PORTENTA_C33/tusb_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@

#define CFG_TUH_MSC 1
#define CFG_TUH_HUB 1
#define CFG_TUH_HID 1
#define CFG_TUH_HID 2
#define CFG_TUH_DEVICE_MAX (3*CFG_TUH_HUB)
#define CFG_TUH_ENDPOINT_MAX 8
#define CFG_TUH_API_EDPT_XFER 1
Expand Down