Skip to content

Commit a7a9c3a

Browse files
committed
Merge pull request #10 from petermm/fix-example-display-drivers
Fix elixir example display-drivers.md
2 parents 10fa0b2 + aec908d commit a7a9c3a

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)