Commit 6e35f0fb49a6ba5deaa7314facdb723ac66ce2a5

Authored by henyxia
1 parent 135fe697

Temp now shown in the right log

Fixed array overflow
Showing 4 changed files with 2 additions and 2 deletions   Show diff stats
img/main.xcf
No preview for this file type
img/main_map.xcf 0 → 100644
No preview for this file type
printx.c
... ... @@ -11,7 +11,7 @@
11 11 #define S_RESET "\33[0m"
12 12 #define MAX_BUFFER 128
13 13  
14   -FILE* logfiles[5] = {NULL, NULL, NULL, NULL, NULL};
  14 +FILE* logfiles[6] = {NULL, NULL, NULL, NULL, NULL, NULL};
15 15 char s_color[4][12] = {"\x1b[01;31m", "\x1b[01;33m", "\x1b[01;32m", "\x1b[01;36m"};
16 16 char f_name[6][5] = {"MAIN", "UI ", "NFC ", "HVC ", "BUS ", "TEMP"};
17 17 struct timeval tv;
... ...
printx.h
... ... @@ -10,7 +10,7 @@ typedef enum
10 10  
11 11 typedef enum
12 12 {
13   - MAIN, UI, NFC, HVC, BUS
  13 + MAIN, UI, NFC, HVC, BUS, TEMP
14 14 }msgfrom;
15 15  
16 16 bool initLog();
... ...