diff options
author | Raimo Niskanen <[email protected]> | 2017-12-18 14:51:13 +0100 |
---|---|---|
committer | Raimo Niskanen <[email protected]> | 2017-12-18 16:21:31 +0100 |
commit | b765dc91e46991db3e22c14c802cf47303a5fd52 (patch) | |
tree | ad0f13ebf9fa2982a46ef1d7fc83dcd4837274c2 /system/doc | |
parent | 44b09e036b31b29dddc3b178e8f6b9fc96a9a874 (diff) | |
download | otp-b765dc91e46991db3e22c14c802cf47303a5fd52.tar.gz otp-b765dc91e46991db3e22c14c802cf47303a5fd52.tar.bz2 otp-b765dc91e46991db3e22c14c802cf47303a5fd52.zip |
Correct typo in design principles for gen_statem
Reported by Guilherme Andrade
Diffstat (limited to 'system/doc')
-rw-r--r-- | system/doc/design_principles/statem.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/system/doc/design_principles/statem.xml b/system/doc/design_principles/statem.xml index a0611a46da..1006485e30 100644 --- a/system/doc/design_principles/statem.xml +++ b/system/doc/design_principles/statem.xml @@ -1679,8 +1679,8 @@ handle_event( {next_state, {open,LockButton}, Data, [{reply,From,ok}]}; [Digit|Rest] -> % Incomplete - {keep_state, Data#{remaining := Rest, 30000}, - [{reply,From,ok}]}; + {keep_state, Data#{remaining := Rest}, + [{reply,From,ok}, 30000]}; [_|_] -> % Wrong {keep_state, Data#{remaining := Code}, [{reply,From,ok}]} |