From 9d40ac5867b9aefe0722bc1f110b965ff294d30d Mon Sep 17 00:00:00 2001 From: Kevin Date: Sat, 15 Nov 2014 10:00:36 +0800 Subject: add via modify part source code for wm8880 4.4 kitkat --- .../power/wmt_battery/gauge/ug31xx/global.h | 31 ++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100755 ANDROID_3.4.5/drivers/power/wmt_battery/gauge/ug31xx/global.h (limited to 'ANDROID_3.4.5/drivers/power/wmt_battery/gauge/ug31xx/global.h') diff --git a/ANDROID_3.4.5/drivers/power/wmt_battery/gauge/ug31xx/global.h b/ANDROID_3.4.5/drivers/power/wmt_battery/gauge/ug31xx/global.h new file mode 100755 index 00000000..e328bec3 --- /dev/null +++ b/ANDROID_3.4.5/drivers/power/wmt_battery/gauge/ug31xx/global.h @@ -0,0 +1,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 -- cgit