X-Git-Url: https://git.smho.de/gw/?p=owSlave2.git;a=blobdiff_plain;f=DS2450_SHT2X_MAX44009%2FDS2450_SHT2X_MAX44009.c;h=b5ed22becf5ef2bf2c748880a0e7fb3358165343;hp=8f5d4f92f1bcb2bf3166fda4a2125a4fdfc5bef9;hb=refs%2Fheads%2Fmaster;hpb=6467d8138460abffd9ddabc7b0a9f00c764af19c diff --git a/DS2450_SHT2X_MAX44009/DS2450_SHT2X_MAX44009.c b/DS2450_SHT2X_MAX44009/DS2450_SHT2X_MAX44009.c index 8f5d4f9..b5ed22b 100644 --- a/DS2450_SHT2X_MAX44009/DS2450_SHT2X_MAX44009.c +++ b/DS2450_SHT2X_MAX44009/DS2450_SHT2X_MAX44009.c @@ -38,7 +38,7 @@ #include #include #include -#include "../common/I2C/USI_TWI_Master.h" +#include "../common/I2C/TWI_Master.h" #include "../common/I2C/SHT2x.h" #include "../common/I2C/MAX44009.h" extern void OWINIT(); @@ -165,7 +165,7 @@ int main(void){ gcontrol=1; - USI_TWI_Master_Initialise(); + TWI_Master_Initialise(); SHT2x_SoftReset(); SHT2x_ReadUserRegister(userRegister); //(userRegister & ~SHT2x_RES_MASK) | SHT2x_RES_10_13BIT; @@ -309,7 +309,7 @@ int main(void){ MCUCR|=(1<