코드 정리

This commit is contained in:
2026-04-20 14:22:43 +09:00
parent 009897a7d8
commit 163593c0cd
4 changed files with 43 additions and 40 deletions

View File

@@ -39,10 +39,12 @@ static void twi_uninitialize(void)
}
/* Initialise the TWI peripheral (SCL/SDA pins, 400 kHz, blocking mode). */
static void twi_initialize(void){
static void twi_initialize(void)
{
ret_code_t err_code;
const nrfx_twi_config_t twi_config = {
const nrfx_twi_config_t twi_config =
{
.scl = ICM42670_I2C_SCL_PIN,
.sda = ICM42670_I2C_SDA_PIN,
.frequency = NRF_TWI_FREQ_400K,