Commit 53f27ec57448d1e03be147d86a3575a2b5dd0d33

Authored by henyxia
1 parent c72d79dd

Debugged version

Showing 1 changed file with 6 additions and 6 deletions   Show diff stats
@@ -12,9 +12,9 @@ int main(void) @@ -12,9 +12,9 @@ int main(void)
12 { 12 {
13 int ret; 13 int ret;
14 pthread_t tUI; 14 pthread_t tUI;
15 - pthread_t tNFC; 15 + //pthread_t tNFC;
16 pthread_t tBUS; 16 pthread_t tBUS;
17 - pthread_t tHVC; 17 + //pthread_t tHVC;
18 initUILog(); 18 initUILog();
19 if(!initLog()) 19 if(!initLog())
20 { 20 {
@@ -26,25 +26,25 @@ int main(void) @@ -26,25 +26,25 @@ int main(void)
26 displayUI(); 26 displayUI();
27 ret = pthread_create(&tUI, NULL, drawUI, NULL); 27 ret = pthread_create(&tUI, NULL, drawUI, NULL);
28 printx(DEBUG, MAIN, "UI Started ID %08x ret %d\n", tUI, ret); 28 printx(DEBUG, MAIN, "UI Started ID %08x ret %d\n", tUI, ret);
29 - printx(INFO, MAIN, "Initializing NFC"); 29 + printx(INFO, MAIN, "Initializing NFC");/*
30 if(!initNFC()) 30 if(!initNFC())
31 { 31 {
32 printx(ERROR, MAIN, "Unable to start the NFC interface\n"); 32 printx(ERROR, MAIN, "Unable to start the NFC interface\n");
33 return 2; 33 return 2;
34 } 34 }
35 - pthread_create(&tNFC, NULL, processNFC, NULL); 35 + pthread_create(&tNFC, NULL, processNFC, NULL);*/
36 if(!initBus()) 36 if(!initBus())
37 { 37 {
38 printx(ERROR, MAIN, "Unable to start the BUS interface\n"); 38 printx(ERROR, MAIN, "Unable to start the BUS interface\n");
39 return 3; 39 return 3;
40 } 40 }
41 - pthread_create(&tBUS, NULL, processBus, NULL); 41 + pthread_create(&tBUS, NULL, processBus, NULL);/*
42 if(!initHVC()) 42 if(!initHVC())
43 { 43 {
44 printx(ERROR, MAIN, "Unable to start the HVC interface\n"); 44 printx(ERROR, MAIN, "Unable to start the HVC interface\n");
45 return 4; 45 return 4;
46 } 46 }
47 - pthread_create(&tHVC, NULL, processHVC, NULL); 47 + pthread_create(&tHVC, NULL, processHVC, NULL);*/
48 pthread_join(tUI, NULL); 48 pthread_join(tUI, NULL);
49 closeLog(); 49 closeLog();
50 return 0; 50 return 0;