commit | 2be2fa8bd618f616f0b6aea8ecb22249766e52ea | [log] [tgz] |
---|---|---|
author | Gaël PORTAY <gael.portay@rtone.fr> | Fri Mar 03 10:18:59 2023 +0100 |
committer | Carles Cufí <carles.cufi@nordicsemi.no> | Fri May 19 10:06:38 2023 +0200 |
tree | f6e232fe32e6e2a62ac1ea73543c58f3d02a6ee3 | |
parent | 0931d8da934e2ed9a8421cd24282c8d41d440057 [diff] |
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: Gaël PORTAY <gael.portay@rtone.fr>