This is a library for the MAX17055 Li+ Battery Fuel Gauge.

Dependents:   Low_Power_Long_Distance_IR_Vision_Robot MAX17055_EZconfig MAX17055_EZconfig_Sample Low_Power_Long_Distance_IR_Vision_Robot

Fork of max17055 by Maxim Integrated

Revision:
13:fc91b283e689
Parent:
12:519a18fc3b28
Child:
14:519754351400
--- a/max17055.cpp	Thu Apr 19 22:34:45 2018 +0000
+++ b/max17055.cpp	Mon Jun 18 21:19:26 2018 +0000
@@ -1,18 +1,3 @@
-/******************************************************************//**
-* @file max17055.cpp
-*
-* @author Felipe Neira - Maxim Integrated - TTS
-*
-* @version 1.5
-*
-* Started: 13DEC17
-*
-* Updated: 16APR18.
-* Remove unnecessary code.  
-* Check spelling
-* Error check
-*
-*
 /*******************************************************************************
 * Copyright (C) 2018 Maxim Integrated Products, Inc., All Rights Reserved.
 *
@@ -226,7 +211,7 @@
     switch (1) {
         case MODEL_LOADING_OPTION1:
             ///STEP 2.1. Load EZ Config
-            EZconfig_init(des_data);
+            EZconfig(des_data);
 
             ///STEP 2.2. Poll ModelCFG.ModelRefresh bit for clear
             ret = poll_flag_clear(MODELCFG_REG, MAX17055_MODELCFG_REFRESH, time_out);
@@ -394,7 +379,7 @@
  * @retval       0 on success
  * @retval       non-zero for errors
  */
-uint16_t MAX17055::EZconfig_init(platform_data des_data)
+uint16_t MAX17055::EZconfig(platform_data des_data)
 {
     ///STEP 2.1.1 EZ config values suggested by manufacturer.
     const int charger_th = 4275;