summaryrefslogtreecommitdiff
path: root/board/wmt/wmt_battery/gauge/upi/global.h
blob: e328bec3dcf3187b2328fd33765a5607691f2e7a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#ifndef _GLOBAL_H_
#define _GLOBAL_H_

#define UG31XX_DEBUG_ENABLE
//#define UG31XX_RESET_DATABASE     ///< [AT-PM] : DEFAULT off ; 04/13/2013

#if defined (uG31xx_OS_WINDOWS)

  #pragma pack(push)
  #pragma pack(1)

  #ifdef  UG31XX_DEBUG_ENABLE
    #define DEBUG_LOG 
    #define uG31xx_NAC_LMD_ADJUST_DEBUG_ENABLE
    #define TABLE_BACKUP_DEBUG_ENABLE
    #define DEBUG_LOG_AT_PM
    #define CALIBRATE_ADC_DEBUG_LOG
  #endif  ///< end of UG31XX_DEBUG_ENABLE
  
  #define EXPORTS _declspec(dllexport)

#elif defined(uG31xx_OS_ANDROID)

  #define EXPORTS 

#endif

#define ENABLE_BQ27520_SW_CMD
//#define ENABLE_NTC_CHECK

#endif