1
mirror of https://github.com/DarkFlippers/unleashed-firmware.git synced 2025-12-12 04:34:43 +04:00

[FL-3863] toolchain: v37 (#3746)

* toolchain: v36
* toolchain: fixed cert path; lib: nanopb: updated to 0.4.8
* fbtenv: rolled back cert path for 3.11
* clang-format: updated config for v18
* linter fixes
* clang-format: properly regenerated config (`clang-format -style=file:.clang-format -dump-config > .clang-format-new; mv .clang-format-new .clang-format`)
* clang-format: AllowShortLoopsOnASingleLine: false
* toolchain: v37
* fbt: compilation_db.py: fixes for Windows
This commit is contained in:
hedger
2024-07-05 20:27:21 +03:00
committed by GitHub
parent 8c380ebe94
commit 7879876ba1
43 changed files with 170 additions and 117 deletions

View File

@@ -584,7 +584,8 @@ void i2c_transfer(u8x8_t* u8x8, uint8_t adr, uint8_t cnt, uint8_t* data) {
uint8_t i;
i2c_start(u8x8);
i2c_write_byte(u8x8, adr);
for(i = 0; i < cnt; i++) i2c_write_byte(u8x8, data[i]);
for(i = 0; i < cnt; i++)
i2c_write_byte(u8x8, data[i]);
i2c_stop(u8x8);
}

View File

@@ -109,7 +109,8 @@ void u8x8_SetupDefaults(u8x8_t* u8x8) {
#ifdef U8X8_USE_PINS
{
uint8_t i;
for(i = 0; i < U8X8_PIN_CNT; i++) u8x8->pins[i] = U8X8_PIN_NONE;
for(i = 0; i < U8X8_PIN_CNT; i++)
u8x8->pins[i] = U8X8_PIN_NONE;
}
#endif
}