From 0e9caa11c8b423ce55c1a6ca4144e92fb3569a15 Mon Sep 17 00:00:00 2001 From: kempe63 <78020007+kempe63@users.noreply.github.com> Date: Mon, 1 Jan 2024 20:39:37 +0000 Subject: [PATCH] Update IO_I2CDFPlayer.h Oops, fixed a typo --- IO_I2CDFPlayer.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/IO_I2CDFPlayer.h b/IO_I2CDFPlayer.h index 2bf28cc..39c0e02 100644 --- a/IO_I2CDFPlayer.h +++ b/IO_I2CDFPlayer.h @@ -377,8 +377,7 @@ public: //_setamCmd = false; //UART_WriteRegister(REG_IOSTATE, TEMP_REG_VAL); }*/ - _setamCmd = false; - UART_WriteRegister(REG_IOSTATE, TEMP_REG_VAL); + _setamCmd = false; } else if ((int32_t)currentMicros - _commandSendTime > 1000000) { // Poll device every second that other commands aren't being sent, // to check if it's still connected and responding.