samples: smp: pi: use K_SEM_DEFINE() for simplicity
This change uses K_SEM_DEFINE() instead of calling k_sem_init()
and having to check for its return value.
It makes the smp pi sample a bit simpler to go through.
Signed-off-by:
William Tambe <williamt@cadence.com>
Loading
Please sign in to comment