Skip to content
Commit 2be2fa8b authored by Gaël PORTAY's avatar Gaël PORTAY Committed by Carles Cufí
Browse files

i2c: shell: Fix shell error output



The i2c shell write command outputs the error "Failed to read from
device" while it tries to write data to device.

This fixes the error by outputting "Failed to write to device" instead.

Fixes:

	uart:~$ i2c write i2c@3ff53000 23 01
	Failed to read from device: 23

Signed-off-by: default avatarGaël PORTAY <gael.portay@rtone.fr>
parent 0931d8da
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment