Skip to content

Commit 9116911

Browse files
committed
fix formatting
1 parent 42db18e commit 9116911

File tree

1 file changed

+3
-3
lines changed
  • ports/nordic/common-hal/busio

1 file changed

+3
-3
lines changed

ports/nordic/common-hal/busio/I2C.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@
2121
// all TWI instances have the same max size
2222
// 16 bits for 840, 10 bits for 810, 8 bits for 832
2323
#define I2C_MAX_XFER_LEN MIN(((1UL << TWIM0_EASYDMA_MAXCNT_SIZE) - 1), 1024)
24-
#define I2C_TIMEOUT 1000 // 1 second timeout
24+
// 1 second timeout
25+
#define I2C_TIMEOUT 1000
2526

26-
static
27-
twim_peripheral_t twim_peripherals[] = {
27+
static twim_peripheral_t twim_peripherals[] = {
2828
#if NRFX_CHECK(NRFX_TWIM0_ENABLED)
2929
// SPIM0 and TWIM0 share an address.
3030
{ .twim = NRFX_TWIM_INSTANCE(0),

0 commit comments

Comments
 (0)