diff --git a/.github/workflows/githubci.yml b/.github/workflows/githubci.yml index 101892a9..1bdd549f 100644 --- a/.github/workflows/githubci.yml +++ b/.github/workflows/githubci.yml @@ -7,7 +7,14 @@ jobs: strategy: fail-fast: false matrix: - arduino-platform: ['cluenrf52840', 'cplaynrf52840', 'feather52832', 'feather52840', 'feather52840sense', 'itsybitsy52840'] + arduino-platform: + # Alphabetical order + - 'cluenrf52840' + - 'cplaynrf52840' + - 'feather52832' + - 'feather52840' + - 'feather52840sense' + - 'itsybitsy52840' runs-on: ubuntu-latest @@ -19,13 +26,8 @@ jobs: - name: Checkout code uses: actions/checkout@v2 - - - name: Checkout submodules - shell: bash - run: | - auth_header="$(git config --local --get http.https://github.com/.extraheader)" - git submodule sync --recursive - git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive + with: + submodules: 'true' - name: Install Arduino CLI and Tools run: | diff --git a/libraries/Bluefruit52Lib/src/services/BLEHidGeneric.h b/libraries/Bluefruit52Lib/src/services/BLEHidGeneric.h index 99867fb7..7b91d034 100644 --- a/libraries/Bluefruit52Lib/src/services/BLEHidGeneric.h +++ b/libraries/Bluefruit52Lib/src/services/BLEHidGeneric.h @@ -53,20 +53,6 @@ typedef struct ATTR_PACKED uint16_t usage_value; ///< Usage value of the pressed control } hid_consumer_control_report_t; -/// Gamepad report -typedef struct ATTR_PACKED -{ - struct ATTR_PACKED - { - uint8_t x : 2; - uint8_t y : 2; - uint8_t : 4; - }; - - uint8_t buttons; -}hid_gamepad_report_t; - - class BLEHidGeneric : public BLEService { public: