Skip to content
Snippets Groups Projects
Unverified Commit 92ef3362 authored by Joakim Nohlgård's avatar Joakim Nohlgård Committed by GitHub
Browse files

Merge pull request #9843 from gebart/pr/core-openocd-ro

core: Mark openocd info variables read-only
parents 11f1955a ab05acbf
No related branches found
No related tags found
No related merge requests found
......@@ -65,13 +65,13 @@ static uint32_t runqueue_bitcache = 0;
#endif
FORCE_USED_SECTION
uint8_t max_threads = sizeof(sched_threads) / sizeof(thread_t*);
const uint8_t max_threads = sizeof(sched_threads) / sizeof(thread_t*);
#ifdef DEVELHELP
/* OpenOCD can't determine struct offsets and additionally this member is only
* available if compiled with DEVELHELP */
FORCE_USED_SECTION
uint8_t _tcb_name_offset = offsetof(thread_t, name);
const uint8_t _tcb_name_offset = offsetof(thread_t, name);
#endif
#ifdef MODULE_SCHEDSTATISTICS
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment