From 4bf1f5e09127d6b1f9934f5ebc21146ed24707b9 Mon Sep 17 00:00:00 2001 From: jbnadal Date: Tue, 22 May 2018 14:50:51 +0200 Subject: [PATCH] remove sanity checks --- src/prog/domod/src/devices/outlet-dio.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/prog/domod/src/devices/outlet-dio.cpp b/src/prog/domod/src/devices/outlet-dio.cpp index f9a20ce1..2f3ff637 100644 --- a/src/prog/domod/src/devices/outlet-dio.cpp +++ b/src/prog/domod/src/devices/outlet-dio.cpp @@ -89,8 +89,8 @@ int OutletDio::from_json(struct json_object *a_node) } // Sanity checks. - if ((the_switch == -1) || (the_sender == -1)) - return -1; +// if ((the_switch == -1) || (the_sender == -1)) +// return -1; return 0; }