tests: spi_test: fix variable type mismatching issue
The variable type mismatching was caught by LLVM. Jira: ZEP-1179 Change-Id: I37934ef2ee47c521a78086564876843794688d55 Signed-off-by: Baohong Liu <baohong.liu@intel.com>
This commit is contained in:
parent
13f6a0c676
commit
16b62051fb
1 changed files with 1 additions and 1 deletions
|
@ -85,7 +85,7 @@ void main(void)
|
|||
printk("SPI sent: %s\n", wbuf);
|
||||
print_buf_hex(rbuf, 6);
|
||||
|
||||
strcpy(wbuf, "So what then?");
|
||||
strcpy((char *)wbuf, "So what then?");
|
||||
spi_transceive(spi, wbuf, 14, rbuf, 16);
|
||||
|
||||
printk("SPI transceived: %s\n", rbuf);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue