From c1c71977571b70644aae85a3a0e9bb09d5fc3280 Mon Sep 17 00:00:00 2001 From: Andrew Scheller Date: Thu, 25 Feb 2021 17:59:00 +0000 Subject: [PATCH] Remove duplicate PARAM_ASSERTIONS_ENABLED_SYNC PICO_CONFIG entry --- src/rp2_common/hardware_sync/include/hardware/sync.h | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/rp2_common/hardware_sync/include/hardware/sync.h b/src/rp2_common/hardware_sync/include/hardware/sync.h index 2452b71..3131375 100644 --- a/src/rp2_common/hardware_sync/include/hardware/sync.h +++ b/src/rp2_common/hardware_sync/include/hardware/sync.h @@ -29,7 +29,7 @@ extern "C" { * functionality may break or not function optimally */ -// PICO_CONFIG: PARAM_ASSERTIONS_ENABLED_SYNC, Enable/disable SYNC assertions, type=bool, default=0, group=hardware_SYNC +// PICO_CONFIG: PARAM_ASSERTIONS_ENABLED_SYNC, Enable/disable assertions in the HW sync module, type=bool, default=0, group=hardware_sync #ifndef PARAM_ASSERTIONS_ENABLED_SYNC #define PARAM_ASSERTIONS_ENABLED_SYNC 0 #endif @@ -74,11 +74,6 @@ typedef volatile uint32_t spin_lock_t; #define PICO_SPINLOCK_ID_CLAIM_FREE_END 31 #endif -// PICO_CONFIG: PARAM_ASSERTIONS_ENABLED_SYNC, Enable/disable assertions in the HW sync module, type=bool, default=0, group=hardware_sync -#ifndef PARAM_ASSERTIONS_ENABLED_SYNC -#define PARAM_ASSERTIONS_ENABLED_SYNC 0 -#endif - /*! \brief Insert a SEV instruction in to the code path. * \ingroup hardware_sync