Skip to content
Snippets Groups Projects
Commit ebbb071e authored by Alexandre Abadie's avatar Alexandre Abadie
Browse files

cpu/cc2538: remove useless periph file guard

parent 6089910e
No related branches found
No related tags found
No related merge requests found
...@@ -36,9 +36,6 @@ ...@@ -36,9 +36,6 @@
#define ENABLE_DEBUG (0) #define ENABLE_DEBUG (0)
#include "debug.h" #include "debug.h"
/* guard this file in case no I2C device is defined */
#if I2C_NUMOF
#ifndef I2C_0_SCL_PIN #ifndef I2C_0_SCL_PIN
#define I2C_0_SCL_PIN i2c_config[I2C_0].scl_pin #define I2C_0_SCL_PIN i2c_config[I2C_0].scl_pin
#endif #endif
...@@ -666,5 +663,3 @@ void i2c_poweroff(i2c_t dev) ...@@ -666,5 +663,3 @@ void i2c_poweroff(i2c_t dev)
SYS_CTRL_DCGCI2C &= ~1; /**< Disable the I2C0 clock. */ SYS_CTRL_DCGCI2C &= ~1; /**< Disable the I2C0 clock. */
} }
} }
#endif /* I2C_NUMOF */
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