diff options
author | nullableVoidPtr <30564701+nullableVoidPtr@users.noreply.github.com> | 2018-11-29 19:24:28 +0800 |
---|---|---|
committer | nullableVoidPtr <30564701+nullableVoidPtr@users.noreply.github.com> | 2018-12-06 09:44:08 +0800 |
commit | 3909b6408c0125fe311d49a3029a2806993615f7 (patch) | |
tree | a02365a6eb268dce08941968e11e319f3a7fe080 /src/librfu_stwi.c | |
parent | 1b33ad6c26fa83aa7b77055ddde59c61df03d0e4 (diff) |
Fix alloc.c as per #386, define INVALID_ constants and rename malloc to alloc as per #325
Some of the INVALID_ are likely erroneously placed, due to lack of documentation
Diffstat (limited to 'src/librfu_stwi.c')
-rw-r--r-- | src/librfu_stwi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librfu_stwi.c b/src/librfu_stwi.c index 556b79bf8..81363ae0d 100644 --- a/src/librfu_stwi.c +++ b/src/librfu_stwi.c @@ -116,7 +116,7 @@ u16 STWI_read_status(u8 index) case 3: return gRfuState->activeCommand; default: - return 0xFFFF; + return INVALID_U16; } } |