From 9c1ea0e539d797720ec5b0eaf999577ee5747eef Mon Sep 17 00:00:00 2001 From: Arisotura Date: Tue, 6 Aug 2019 13:31:27 +0200 Subject: [PATCH] guess after all we shouldn't send ACKs for nonexistant I2C devices --- src/DSi_I2C.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/DSi_I2C.cpp b/src/DSi_I2C.cpp index ffb724ff..5ced51e8 100644 --- a/src/DSi_I2C.cpp +++ b/src/DSi_I2C.cpp @@ -203,7 +203,7 @@ void WriteCnt(u8 val) case 0x7A: DSi_Camera1->Start(); break; default: printf("I2C: %s start on unknown device %02X\n", (Data&0x01)?"read":"write", Device); - //ack = false; + ack = false; break; } } @@ -218,7 +218,7 @@ void WriteCnt(u8 val) case 0x7A: DSi_Camera1->Write(Data, islast); break; default: printf("I2C: write on unknown device %02X, cnt=%02X, data=%02X, last=%d\n", Device, val, Data, islast); - //ack = false; + ack = false; break; } }