You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by an...@apache.org on 2019/04/03 21:53:06 UTC

[mynewt-core] branch master updated: Fixed macro values for ADP5061.

This is an automated email from the ASF dual-hosted git repository.

andk pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-core.git


The following commit(s) were added to refs/heads/master by this push:
     new 00b35ae  Fixed macro values for ADP5061.
00b35ae is described below

commit 00b35aee6ff24dc03bfe81057ad468d701898960
Author: brolan-juul <33...@users.noreply.github.com>
AuthorDate: Wed Apr 3 14:53:01 2019 -0700

    Fixed macro values for ADP5061.
    
    Missing macro value ADP5061_VTRM_4V22
    
    Macro values 4.14V to 4.22V were off.
---
 hw/drivers/chg_ctrl/adp5061/include/adp5061/adp5061.h | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/hw/drivers/chg_ctrl/adp5061/include/adp5061/adp5061.h b/hw/drivers/chg_ctrl/adp5061/include/adp5061/adp5061.h
index 59d7a80..5d3a964 100644
--- a/hw/drivers/chg_ctrl/adp5061/include/adp5061/adp5061.h
+++ b/hw/drivers/chg_ctrl/adp5061/include/adp5061/adp5061.h
@@ -312,10 +312,11 @@ int adp5061_set_regs(struct adp5061_dev *dev, uint8_t addr,
 #define ADP5061_VTRM_4V08           0x1D
 #define ADP5061_VTRM_4V10           0x1E
 #define ADP5061_VTRM_4V12           0x1F
-#define ADP5061_VTRM_4V14           0x21
-#define ADP5061_VTRM_4V16           0x22
-#define ADP5061_VTRM_4V18           0x23
-#define ADP5061_VTRM_4V20           0x24
+#define ADP5061_VTRM_4V14           0x20
+#define ADP5061_VTRM_4V16           0x21
+#define ADP5061_VTRM_4V18           0x22
+#define ADP5061_VTRM_4V20           0x23
+#define ADP5061_VTRM_4V22           0x24
 #define ADP5061_VTRM_4V24           0x25
 #define ADP5061_VTRM_4V26           0x26
 #define ADP5061_VTRM_4V28           0x27