Skip to content
Commit 7c284848 authored by William Tambe's avatar William Tambe Committed by Benjamin Cabé
Browse files

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: default avatarWilliam Tambe <williamt@cadence.com>
parent 5a4f0dcd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment