We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3f7b457 commit 58af974Copy full SHA for 58af974
source/daplink/interface/main.c
@@ -213,6 +213,9 @@ void main_task(void * arg)
213
// Initialize the DAP
214
DAP_Setup();
215
216
+ // make sure we have a valid board info structure.
217
+ util_assert(g_board_info.info_version == kBoardInfoVersion);
218
+
219
// do some init with the target before USB and files are configured
220
if (g_board_info.prerun_board_config) {
221
g_board_info.prerun_board_config();
0 commit comments