File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/rp2_common/hardware_sync_spin_lock/include/hardware/sync Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -149,7 +149,7 @@ typedef SW_SPIN_LOCK_TYPE spin_lock_t;
149149 __mem_fence_acquire(); \
150150 })
151151#else
152- #error no SW_SPIN_TRY_LOCK available for PICO_USE_SW_SPIN_LOCK on this platform
152+ #error no SW_SPIN_LOCK_LOCK available for PICO_USE_SW_SPIN_LOCK on this platform
153153#endif
154154#endif
155155
@@ -210,7 +210,7 @@ typedef SW_SPIN_LOCK_TYPE spin_lock_t;
210210 *(lock) = 0; /* write to spinlock register (release lock) */ \
211211 })
212212#else
213- #error no SW_SPIN_TRY_LOCK available for PICO_USE_SW_SPIN_LOCK on this platform
213+ #error no SW_SPIN_LOCK_UNLOCK available for PICO_USE_SW_SPIN_LOCK on this platform
214214#endif
215215#endif
216216
You can’t perform that action at this time.
0 commit comments