Skip to content

Commit d32cffb

Browse files
committed
Update morse_server example
Remove call to register/2 since the driver does this internally and the extra call now causes an error. Signed-off-by: Winford <[email protected]>
1 parent 8468307 commit d32cffb

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

examples/erlang/esp32/morse_server.erl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,6 @@ get_gpio() ->
116116
case whereis(gpio) of
117117
undefined ->
118118
GPIO = gpio:open(),
119-
register(gpio, GPIO),
120119
GPIO;
121120
GPIO ->
122121
GPIO

0 commit comments

Comments
 (0)