diff options
author | Boris Mühmer <[email protected]> | 2013-11-09 06:23:52 +0100 |
---|---|---|
committer | Boris Mühmer <[email protected]> | 2013-11-09 06:23:52 +0100 |
commit | e082d88bbf07d1a27bd46f15a387d5492d5e16fc (patch) | |
tree | 965870d837c2d05af3f2debd2ab3c0c3b48be4be /system/doc/design_principles/fsm.xml | |
parent | 768a64354e3d69b3c0840a84dd072601c67ca39d (diff) | |
download | otp-e082d88bbf07d1a27bd46f15a387d5492d5e16fc.tar.gz otp-e082d88bbf07d1a27bd46f15a387d5492d5e16fc.tar.bz2 otp-e082d88bbf07d1a27bd46f15a387d5492d5e16fc.zip |
fixed small typo (missing right parenthesis) in gen_fsm example
Diffstat (limited to 'system/doc/design_principles/fsm.xml')
-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 803283b37a..f07950fae7 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}). |