Minor changes
This commit is contained in:
parent
6ca5f69a4d
commit
233d4da9b4
8
sht4x.c
8
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;
|
||||
|
Loading…
Reference in New Issue
Block a user