fixed scheduler in vault. insert borderline reference
This commit is contained in:
@@ -9,9 +9,7 @@
|
||||
#include "../../interrupt/guard.h"
|
||||
#include "../../debug/output.h"
|
||||
#include "../../arch/context.h"
|
||||
#include "../../thread/scheduler.h"
|
||||
|
||||
extern Scheduler sch;
|
||||
static uint8_t appl_cnt = 0;
|
||||
|
||||
char text[] = "Ich mag\n\
|
||||
@@ -57,12 +55,6 @@ void Application::action() { // NOLINT
|
||||
//Core::pause();
|
||||
//activeWaitDelay(10000000);
|
||||
|
||||
|
||||
//{
|
||||
// Guarded g = Guard::enter();
|
||||
// sch.resume(true);
|
||||
//}
|
||||
|
||||
if(cnt >= sizeof(text)-1)
|
||||
cnt=0;
|
||||
//context_switch(test2,test1);
|
||||
|
||||
Reference in New Issue
Block a user