1
0
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:
MrKevinWeiss 2018-06-27 08:57:56 +02:00 committed by dylad
parent 0c0ae1855d
commit 89bd96e1b0

View File

@ -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;