Skip to content

Commit aec908d

Browse files
committed
Fix elixir example display-drivers.md
Signed-off-by: Peter M <petermm@gmail.com>
1 parent 10fa0b2 commit aec908d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/display-drivers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ items = [
334334
]
335335

336336
# Send update command
337-
:erlang.port_call(display, {:update, items}, 5000)
337+
:port.call(display, {:update, items}, 5000)
338338
```
339339

340340
**Note:** While direct port calls work, the recommended approach is to use [avm_scene](https://github.com/atomvm/avm_scene) which provides a higher-level interface for managing display updates and handling the display list lifecycle properly.

0 commit comments

Comments
 (0)