aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFredrik Gustafsson <[email protected]>2013-11-13 08:00:03 +0100
committerFredrik Gustafsson <[email protected]>2013-11-13 08:00:03 +0100
commit69eee1e3d93b353dc07ff6ea167f9ab636478126 (patch)
treec1699f362dc5f91eee0cd121fa2c88703ed4f3d3
parent62731a5d22cc549d58fef89c664f77aefe5dd679 (diff)
parent4ed2425fa6e14693beac06ec176ffc918f11bc3f (diff)
downloadotp-69eee1e3d93b353dc07ff6ea167f9ab636478126.tar.gz
otp-69eee1e3d93b353dc07ff6ea167f9ab636478126.tar.bz2
otp-69eee1e3d93b353dc07ff6ea167f9ab636478126.zip
Merge branch 'maint'
-rw-r--r--system/doc/design_principles/fsm.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/doc/design_principles/fsm.xml b/system/doc/design_principles/fsm.xml
index 7de96d44ec..9dce159dca 100644
--- a/system/doc/design_principles/fsm.xml
+++ b/system/doc/design_principles/fsm.xml
@@ -75,7 +75,7 @@ StateName(Event, StateData) ->
-export([init/1, locked/2, open/2]).
start_link(Code) ->
- gen_fsm:start_link({local, code_lock}, code_lock, lists:reverse(Code, []).
+ gen_fsm:start_link({local, code_lock}, code_lock, lists:reverse(Code), []).
button(Digit) ->
gen_fsm:send_event(code_lock, {button, Digit}).