From 233d4da9b405062cdaf49ca2927325e90d5bde9e Mon Sep 17 00:00:00 2001 From: Jan Mrna Date: Sun, 12 Jun 2022 22:20:13 +0200 Subject: [PATCH] Minor changes --- sht4x.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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;