diff --git a/sht4x.c b/sht4x.c index 5c71424..d2ff53a 100644 --- a/sht4x.c +++ b/sht4x.c @@ -8,11 +8,9 @@ #include "sht4x.h" /* - * To be implemented by user + * Functions to be implemented by user */ - -/* TODO prejmenovat vsechny na sht4x_* */ /* I2C */ int8_t sht4x_i2c_transmit(uint8_t address, uint8_t *buffer, int len) __attribute__((weak)); int8_t sht4x_i2c_receive(uint8_t address, uint8_t *buffer, int len) __attribute__((weak)); @@ -24,6 +22,10 @@ int8_t sht4x_enable_interrupts(void) __attribute__((weak)); /* delay function */ void delay_ms(int delay_ms) __attribute__((weak)); +/* + * Public functions + */ + int8_t sht4x_send_cmd(sht4x_cmd_t cmd) { return SHT4X_OK;