Skip to content

Commit 5551101

Browse files
committed
Simplification, remove magic number (not required)
1 parent eadf08b commit 5551101

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/rp2_common/pico_multicore/multicore.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -202,10 +202,8 @@ void multicore_launch_core1_raw(void (*entry)(void), uint32_t *sp, uint32_t vect
202202
irq_set_enabled(irq_num, enabled);
203203
}
204204

205-
#define LOCKOUT_MAGIC_START 0x73a8831eu
206-
207205
static mutex_t lockout_mutex;
208-
static io_rw_32 lockout_request_id = LOCKOUT_MAGIC_START;
206+
static io_rw_32 lockout_request_id = 0;
209207

210208
// note this method is in RAM because lockout is used when writing to flash
211209
// it only makes inline calls

0 commit comments

Comments
 (0)