Commit f5e8c066 authored by Alexandre Bourdiol's avatar Alexandre Bourdiol Committed by Anas Nashif
Browse files

drivers: i2c: fix STM32 implicit-fallthrough warning



Fall through is intentional,
so make sure compiler doesn't raise warning.

Signed-off-by: default avatarAlexandre Bourdiol <alexandre.bourdiol@st.com>
parent 79649de7
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -350,6 +350,7 @@ static inline void handle_rxne(struct device *dev)
		case 2:
			LL_I2C_AcknowledgeNextData(i2c, LL_I2C_NACK);
			LL_I2C_EnableBitPOS(i2c);
			__fallthrough;
		case 3:
			/*
			 * 2-byte, 3-byte reception and for N-2, N-1,