summaryrefslogtreecommitdiff
path: root/apps/system/zmodem/zm.h
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2013-07-14 12:34:45 -0600
committerGregory Nutt <gnutt@nuttx.org>2013-07-14 12:34:45 -0600
commit2b17010dee9c2f2a4755fa419158bcbd92fbdc7e (patch)
tree57d80fc1071cc2809cec9b99774bfec47815fb46 /apps/system/zmodem/zm.h
parent2428fdc9def43aaf9d4da1452cb2a8c24aedd579 (diff)
downloadnuttx-2b17010dee9c2f2a4755fa419158bcbd92fbdc7e.tar.gz
nuttx-2b17010dee9c2f2a4755fa419158bcbd92fbdc7e.tar.bz2
nuttx-2b17010dee9c2f2a4755fa419158bcbd92fbdc7e.zip
Fix an error in the ordering of fields in zm_transition_s structure; update documentation
Diffstat (limited to 'apps/system/zmodem/zm.h')
-rw-r--r--apps/system/zmodem/zm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/system/zmodem/zm.h b/apps/system/zmodem/zm.h
index 60be71ff4..10f4640c5 100644
--- a/apps/system/zmodem/zm.h
+++ b/apps/system/zmodem/zm.h
@@ -287,8 +287,8 @@ typedef int (*action_t)(FAR struct zm_state_s *pzm);
struct zm_transition_s
{
uint8_t type; /* Event (Frame type) */
- uint8_t next; /* Next state */
bool bdiscard; /* TRUE: discard buffered input */
+ uint8_t next; /* Next state */
action_t action; /* Transition action */
};