Skip to content
Commit 285245c6 authored by Declan Snyder's avatar Declan Snyder Committed by Chris Friedt
Browse files

tests: spi_loopback: Use atmoic_t instead of sem for CS



Use an atomic_t instead of semaphore for counting the CS, semaphore is
too heavy and wrong choice for this variable.

Also, print what the actual value gotten was in case of error.

Signed-off-by: default avatarDeclan Snyder <declan.snyder@nxp.com>
parent 1d44972a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment