getpid
This commit is contained in:
@@ -20,8 +20,7 @@ void Application::action() { // NOLINT
|
||||
|
||||
//sys_test(1,2,3,4,5);
|
||||
|
||||
unsigned id = 0;
|
||||
while (&apps[id++] != this);
|
||||
unsigned id = sys_getpid();
|
||||
char text[] = "testX";
|
||||
text[4] = 0x30+id;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user