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;
149
149
__mem_fence_acquire(); \
150
150
})
151
151
#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
153
153
#endif
154
154
#endif
155
155
@@ -210,7 +210,7 @@ typedef SW_SPIN_LOCK_TYPE spin_lock_t;
210
210
*(lock) = 0; /* write to spinlock register (release lock) */ \
211
211
})
212
212
#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
214
214
#endif
215
215
#endif
216
216
You can’t perform that action at this time.
0 commit comments