diff options
author | Fredrik Gustafsson <[email protected]> | 2013-11-13 08:00:03 +0100 |
---|---|---|
committer | Fredrik Gustafsson <[email protected]> | 2013-11-13 08:00:03 +0100 |
commit | 69eee1e3d93b353dc07ff6ea167f9ab636478126 (patch) | |
tree | c1699f362dc5f91eee0cd121fa2c88703ed4f3d3 | |
parent | 62731a5d22cc549d58fef89c664f77aefe5dd679 (diff) | |
parent | 4ed2425fa6e14693beac06ec176ffc918f11bc3f (diff) | |
download | otp-69eee1e3d93b353dc07ff6ea167f9ab636478126.tar.gz otp-69eee1e3d93b353dc07ff6ea167f9ab636478126.tar.bz2 otp-69eee1e3d93b353dc07ff6ea167f9ab636478126.zip |
Merge branch 'maint'
-rw-r--r-- | system/doc/design_principles/fsm.xml | 2 |
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}). |