mirror of
https://github.com/EFeru/hoverboard-sideboard-hack-GD.git
synced 2026-03-29 19:43:21 +00:00
Compare commits
3 Commits
e0a585509e
...
c063fdf2e1
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c063fdf2e1 | ||
|
|
b0bd1954c4 | ||
|
|
4d67047e2d |
4
.github/workflows/build_on_commit.yml
vendored
4
.github/workflows/build_on_commit.yml
vendored
@@ -13,7 +13,7 @@ jobs:
|
||||
|
||||
steps:
|
||||
# Get required packages
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v4
|
||||
- uses: fiam/arm-none-eabi-gcc@v1
|
||||
with:
|
||||
release: '9-2019-q4'
|
||||
@@ -33,7 +33,7 @@ jobs:
|
||||
run: pio run
|
||||
|
||||
- name: 'Upload Build Artifact'
|
||||
uses: actions/upload-artifact@v3
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
path: ${{github.workspace}}/.pio/build/**
|
||||
name: ${{github.event.repository.name}}_build_${{github.run_number}}
|
||||
|
||||
@@ -314,6 +314,10 @@ void i2c_config(void) {
|
||||
i2c_enable(MPU_I2C);
|
||||
/* enable acknowledge */
|
||||
i2c_ack_config(MPU_I2C, I2C_ACK_ENABLE);
|
||||
|
||||
i2c_interrupt_enable(MPU_I2C, I2C_INT_ERR);
|
||||
i2c_interrupt_enable(MPU_I2C, I2C_INT_EV);
|
||||
i2c_interrupt_enable(MPU_I2C, I2C_INT_BUF);
|
||||
|
||||
#ifdef AUX45_USE_I2C
|
||||
/* I2C clock configure */
|
||||
|
||||
Reference in New Issue
Block a user