Skip to content

Commit 965fa0b

Browse files
author
James Foster
authored
Don't use fast bus IO for testing (#4)
* Update to use published `arduino_ci` gem. * Don't use `BUSIO_USE_FAST_PINIO` when in `arduino_ci`. * Don't try to generate documents since we don't have permission
1 parent eed14cf commit 965fa0b

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/githubci.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ jobs:
2525
- name: clang
2626
run: python3 ci/run-clang-format.py -e "ci/*" -e "bin/*" -r .
2727

28-
- name: doxygen
29-
env:
30-
GH_REPO_TOKEN: ${{ secrets.GH_REPO_TOKEN }}
31-
PRETTYNAME : "Adafruit Bus IO Library"
32-
run: bash ci/doxy_gen_and_deploy.sh
28+
# - name: doxygen
29+
# env:
30+
# GH_REPO_TOKEN: ${{ secrets.GH_REPO_TOKEN }}
31+
# PRETTYNAME : "Adafruit Bus IO Library"
32+
# run: bash ci/doxy_gen_and_deploy.sh

src/Adafruit_SPIDevice.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ typedef enum _BitOrder {
3232
#define SPI_BITORDER_LSBFIRST LSBFIRST
3333
#endif
3434

35-
#if defined(__AVR__) || defined(TEENSYDUINO)
35+
#if (defined(__AVR__) || defined(TEENSYDUINO)) && !defined(MOCK_PINS_COUNT)
3636
typedef volatile uint8_t BusIO_PortReg;
3737
typedef uint8_t BusIO_PortMask;
3838
#define BUSIO_USE_FAST_PINIO

0 commit comments

Comments
 (0)