This is an automated email from the ASF dual-hosted git repository.
jerzy 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 b2a3498 sensors: Fix LOG_MODULE conflicts
b2a3498 is described below
commit b2a3498611522fed91306c78f761d95a43c17ed6
Author: Jerzy Kasenberg <[email protected]>
AuthorDate: Tue Aug 18 10:17:59 2020 +0200
sensors: Fix LOG_MODULE conflicts
ina219 and ina226 had LOG_MODULE value copied from other driver.
To enable usage of those drivers together, LOG_MODULE are changed
to unique values.
---
hw/drivers/sensors/ina219/syscfg.yml | 2 +-
hw/drivers/sensors/ina226/syscfg.yml | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/hw/drivers/sensors/ina219/syscfg.yml
b/hw/drivers/sensors/ina219/syscfg.yml
index 0f5bd9d..6436c0d 100644
--- a/hw/drivers/sensors/ina219/syscfg.yml
+++ b/hw/drivers/sensors/ina219/syscfg.yml
@@ -48,7 +48,7 @@ syscfg.defs:
INA219_LOG_MODULE:
description: 'Numeric module ID to use for INA219 log messages.'
- value: 86
+ value: 88
INA219_LOG_LVL:
description: 'Minimum level for the INA219 log.'
value: 1
diff --git a/hw/drivers/sensors/ina226/syscfg.yml
b/hw/drivers/sensors/ina226/syscfg.yml
index 2e652ab..7c3116d 100644
--- a/hw/drivers/sensors/ina226/syscfg.yml
+++ b/hw/drivers/sensors/ina226/syscfg.yml
@@ -34,7 +34,7 @@ syscfg.defs:
INA226_LOG_MODULE:
description: 'Numeric module ID to use for INA226 log messages.'
- value: 86
+ value: 89
INA226_LOG_LVL:
description: 'Minimum level for the INA226 log.'
value: 1