Skip to content
Snippets Groups Projects
Commit 81e61201 authored by Peter Tyser's avatar Peter Tyser Committed by Wolfgang Denk
Browse files

Remove CFG_EEPROM_PAGE* dependencies for temperature sensors


The checks for CFG_EEPROM_PAGE_WRITE_ENABLE and
CFG_EEPROM_PAGE_WRITE_BITS in various temperature
sensor drivers are not necessary

Signed-off-by: default avatarPeter Tyser <ptyser@xes-inc.com>
parent c46980f6
No related branches found
No related tags found
No related merge requests found
...@@ -26,11 +26,6 @@ ...@@ -26,11 +26,6 @@
*/ */
#include <common.h> #include <common.h>
#if !defined(CFG_EEPROM_PAGE_WRITE_ENABLE) || \
(CFG_EEPROM_PAGE_WRITE_BITS < 1)
# error "CFG_EEPROM_PAGE_WRITE_ENABLE must be defined and CFG_EEPROM_PAGE_WRITE_BITS must be greater than 1 to use CONFIG_DTT_DS1621"
#endif
#include <i2c.h> #include <i2c.h>
#include <dtt.h> #include <dtt.h>
......
...@@ -26,12 +26,6 @@ ...@@ -26,12 +26,6 @@
*/ */
#include <common.h> #include <common.h>
#if !defined(CFG_EEPROM_PAGE_WRITE_ENABLE) || \
(CFG_EEPROM_PAGE_WRITE_BITS < 1)
# error "CFG_EEPROM_PAGE_WRITE_ENABLE must be defined and CFG_EEPROM_PAGE_WRITE_BITS must be greater than 1 to use CONFIG_DTT_LM75"
#endif
#include <i2c.h> #include <i2c.h>
#include <dtt.h> #include <dtt.h>
......
...@@ -31,12 +31,6 @@ ...@@ -31,12 +31,6 @@
*/ */
#include <common.h> #include <common.h>
#if !defined(CFG_EEPROM_PAGE_WRITE_ENABLE) || \
(CFG_EEPROM_PAGE_WRITE_BITS < 1)
# error "CFG_EEPROM_PAGE_WRITE_ENABLE must be defined and CFG_EEPROM_PAGE_WRITE_BITS must be greater than 1 to use CONFIG_DTT_LM81"
#endif
#include <i2c.h> #include <i2c.h>
#include <dtt.h> #include <dtt.h>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment