req_ctx: Fix allocation (allocate 1 block, not all) and call _init()

This commit is contained in:
Harald Welte
2016-02-29 17:57:51 +01:00
parent 54cb3d017f
commit ebbb645f4b
3 changed files with 6 additions and 0 deletions

View File

@@ -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();