aboutsummaryrefslogtreecommitdiffstats
path: root/system/doc/design_principles
diff options
context:
space:
mode:
authorRaimo Niskanen <[email protected]>2017-12-18 14:51:13 +0100
committerRaimo Niskanen <[email protected]>2017-12-18 16:21:31 +0100
commitb765dc91e46991db3e22c14c802cf47303a5fd52 (patch)
treead0f13ebf9fa2982a46ef1d7fc83dcd4837274c2 /system/doc/design_principles
parent44b09e036b31b29dddc3b178e8f6b9fc96a9a874 (diff)
downloadotp-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/design_principles')
-rw-r--r--system/doc/design_principles/statem.xml4
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}]}