improved safety of logger I2C when writin in memory, unsolved bug with wdt