mirror of
https://gitea.osmocom.org/sim-card/simtrace2.git
synced 2026-03-17 21:58:33 +03:00
req_ctx: Fix allocation (allocate 1 block, not all) and call _init()
This commit is contained in:
@@ -4,6 +4,8 @@
|
||||
*------------------------------------------------------------------------------*/
|
||||
|
||||
#include "board.h"
|
||||
#include "utils.h"
|
||||
#include "req_ctx.h"
|
||||
|
||||
/*------------------------------------------------------------------------------
|
||||
* Internal variables
|
||||
@@ -95,6 +97,8 @@ extern int main( void )
|
||||
/* Disable watchdog*/
|
||||
WDT_Disable( WDT ) ;
|
||||
|
||||
req_ctx_init();
|
||||
|
||||
PIO_InitializeInterrupts(0);
|
||||
|
||||
SIMtrace_USB_Initialize();
|
||||
|
||||
Reference in New Issue
Block a user