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 12 {
13 13 int ret;
14 14 pthread_t tUI;
15   - pthread_t tNFC;
  15 + //pthread_t tNFC;
16 16 pthread_t tBUS;
17   - pthread_t tHVC;
  17 + //pthread_t tHVC;
18 18 initUILog();
19 19 if(!initLog())
20 20 {
... ... @@ -26,25 +26,25 @@ int main(void)
26 26 displayUI();
27 27 ret = pthread_create(&tUI, NULL, drawUI, NULL);
28 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 30 if(!initNFC())
31 31 {
32 32 printx(ERROR, MAIN, "Unable to start the NFC interface\n");
33 33 return 2;
34 34 }
35   - pthread_create(&tNFC, NULL, processNFC, NULL);
  35 + pthread_create(&tNFC, NULL, processNFC, NULL);*/
36 36 if(!initBus())
37 37 {
38 38 printx(ERROR, MAIN, "Unable to start the BUS interface\n");
39 39 return 3;
40 40 }
41   - pthread_create(&tBUS, NULL, processBus, NULL);
  41 + pthread_create(&tBUS, NULL, processBus, NULL);/*
42 42 if(!initHVC())
43 43 {
44 44 printx(ERROR, MAIN, "Unable to start the HVC interface\n");
45 45 return 4;
46 46 }
47   - pthread_create(&tHVC, NULL, processHVC, NULL);
  47 + pthread_create(&tHVC, NULL, processHVC, NULL);*/
48 48 pthread_join(tUI, NULL);
49 49 closeLog();
50 50 return 0;
... ...