summaryrefslogtreecommitdiffstats
path: root/perl-install/sbus_probing/main.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/sbus_probing/main.pm')
-rw-r--r--perl-install/sbus_probing/main.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/perl-install/sbus_probing/main.pm b/perl-install/sbus_probing/main.pm
index e5c3f1596..b1fce96f7 100644
--- a/perl-install/sbus_probing/main.pm
+++ b/perl-install/sbus_probing/main.pm
@@ -2,6 +2,7 @@ package sbus_probing::main;
use c;
use log;
+use modules;
my %sbus_table_network = (
hme => [ "Sun Happy Meal Ethernet", "sunhme" ],
@@ -133,6 +134,7 @@ sub check {
sub probe($) {
my ($type) = @_;
+ eval { modules::load("openprom") };
my $root_node = c::prom_open();
my @l;
@@ -145,6 +147,7 @@ sub probe($) {
sub matching_desc($;$) {
my ($regexp) = @_;
+ eval { modules::load("openprom") };
my $root_node = c::prom_open();
my @l;