mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
drivers/srf08: Turn debug off and cleanup
This commit is contained in:
parent
0c0ae1855d
commit
89bd96e1b0
@ -28,17 +28,12 @@
|
||||
#include "srf08.h"
|
||||
#include "periph/i2c.h"
|
||||
|
||||
#define ENABLE_DEBUG (1)
|
||||
#define ENABLE_DEBUG (0)
|
||||
#include "debug.h"
|
||||
|
||||
|
||||
int srf08_init(srf08_t *dev, i2c_t i2c, uint8_t addr)
|
||||
{
|
||||
int status = 0;
|
||||
(void)status;
|
||||
(void)addr;
|
||||
(void)i2c;
|
||||
|
||||
dev->i2c = i2c;
|
||||
dev->addr = addr;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user