diff options
author | Fredrik Gustafsson <[email protected]> | 2013-11-13 07:59:58 +0100 |
---|---|---|
committer | Fredrik Gustafsson <[email protected]> | 2013-11-13 07:59:58 +0100 |
commit | 4ed2425fa6e14693beac06ec176ffc918f11bc3f (patch) | |
tree | 26dc5ecb72b0f3ff6e54a3815500d0f88eafff07 | |
parent | 1562340596938d1f8a84b2ed43f5f0097be66ae7 (diff) | |
parent | e082d88bbf07d1a27bd46f15a387d5492d5e16fc (diff) | |
download | otp-4ed2425fa6e14693beac06ec176ffc918f11bc3f.tar.gz otp-4ed2425fa6e14693beac06ec176ffc918f11bc3f.tar.bz2 otp-4ed2425fa6e14693beac06ec176ffc918f11bc3f.zip |
Merge branch 'bsmr-erlang/fix_gen_fsm_example/OTP-11472' into maint
* bsmr-erlang/fix_gen_fsm_example/OTP-11472:
fixed small typo (missing right parenthesis) in gen_fsm example
-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}). |