Naming and coding style convention, new linter tool. (#945)
* Makefile, Scripts: new linter * About: remove ID from IC * Firmware: remove double define for DIVC/DIVR * Scripts: check folder names too. Docker: replace syntax check with make lint. * Reformat Sources and Migrate to new file naming convention * Docker: symlink clang-format-12 to clang-format * Add coding style guide
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
#include "main.h"
|
||||
#include <furi-hal.h>
|
||||
#include <furi_hal.h>
|
||||
#include <furi.h>
|
||||
|
||||
#define SD_DUMMY_BYTE 0xFF
|
||||
@@ -19,7 +19,8 @@ uint8_t SD_IO_WriteByte(uint8_t Data);
|
||||
* @retval None
|
||||
*/
|
||||
static void SPIx_WriteReadData(const uint8_t* DataIn, uint8_t* DataOut, uint16_t DataLength) {
|
||||
furi_check(furi_hal_spi_bus_trx(furi_hal_sd_spi_handle, (uint8_t*)DataIn, DataOut, DataLength, SpiTimeout));
|
||||
furi_check(furi_hal_spi_bus_trx(
|
||||
furi_hal_sd_spi_handle, (uint8_t*)DataIn, DataOut, DataLength, SpiTimeout));
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user