summaryrefslogtreecommitdiff
path: root/include/librfu.h
diff options
context:
space:
mode:
authorjiangzhengwenjz <jiangzhengwenjzw@qq.com>2020-04-28 04:45:15 +0800
committerjiangzhengwenjz <jiangzhengwenjzw@qq.com>2020-04-28 04:45:15 +0800
commit2d0dace7e0ea18aec09d26a3f6a92e337e2d6028 (patch)
tree8f1f2a40d97d4bdce5571fa11b079c31c12f980f /include/librfu.h
parent834b0dd8c6b127c311309396512322d04b1e4dc3 (diff)
fix remainSize type
Diffstat (limited to 'include/librfu.h')
-rw-r--r--include/librfu.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/librfu.h b/include/librfu.h
index 3c9d776f1..de5cdcdbc 100644
--- a/include/librfu.h
+++ b/include/librfu.h
@@ -376,8 +376,7 @@ struct NIComm
u16 state; // Communication state of slot
u16 failCounter; // Count of failed transmissions/receptions (Count is increased when transmission/reception of data does not succeed within 1PF=16.7 ms)
const u8 *now_p[WINDOW_COUNT]; // Address of current send/receive (The data is divided into WINDOW_COUNT blocks and sent in payloadSize units.)
- // remainSize is u32 in SDK. This is a hack to match ASM
- s32 remainSize; // Size of remaining communication data
+ u32 remainSize; // Size of remaining communication data
u16 errorCode; // Error code
u8 bmSlot; // Expresses the current communication slot in bits
// (When sending from the Master, because multiple slaves can be specified with bmSlot, communications are terminated based on the failCounter for each child device)