Skip to content
Browse files

Avoid warnings about non-exported opaque types

  • Loading branch information...
1 parent 62c6e1e commit 5b61c3aecf737f46d53947fb67bf7b2ac2d03342 @klajo committed
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/wpi.erl
View
2 src/wpi.erl
@@ -103,6 +103,8 @@
-type wpi_spi_channel() :: 0..1.
+-export_type([wpi_lcd_handle/0]).
+-export_type([wpi_serial_handle/0]).
on_load() ->
%% Force wiringPi to return -1 on initalization failure. In

0 comments on commit 5b61c3a

Please sign in to comment.
Something went wrong with that request. Please try again.