diff options
author | WaluigiWare64 <68647953+WaluigiWare64@users.noreply.github.com> | 2021-05-03 13:36:21 +0100 |
---|---|---|
committer | WaluigiWare64 <68647953+WaluigiWare64@users.noreply.github.com> | 2021-05-03 13:40:44 +0100 |
commit | 2ff065e5eab38165b4f3380284f58bc8019d8712 (patch) | |
tree | f40ffe2564979b0a3d50942a893c0e7b72fdb5b6 /src/DSi_I2C.cpp | |
parent | cc36f55b8ca18ea32a29ceaa96d5e9022b4af301 (diff) |
Fix some compiler warnings
Diffstat (limited to 'src/DSi_I2C.cpp')
-rw-r--r-- | src/DSi_I2C.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/DSi_I2C.cpp b/src/DSi_I2C.cpp index ad01a42..4bb7df9 100644 --- a/src/DSi_I2C.cpp +++ b/src/DSi_I2C.cpp @@ -98,7 +98,7 @@ void Write(u8 val, bool last) return; } - if (CurPos == -1) + if (CurPos == 0xFFFFFFFF) { CurPos = val; //printf("BPTWL: reg=%02X\n", val); |