Periphmraa: Bypass version check if version is 0.0
Signed-off-by: Vineela Tummalapalli <vineela.tummalapalli@intel.com> Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
This commit is contained in:
committed by
Noel Eck
parent
913eaf2440
commit
34b4d4a97b
@@ -107,6 +107,7 @@ class Spi;
|
|||||||
}
|
}
|
||||||
|
|
||||||
if((mraa.class.getPackage().getSpecificationVersion() != null)
|
if((mraa.class.getPackage().getSpecificationVersion() != null)
|
||||||
|
&& !(mraa.class.getPackage().getSpecificationVersion().equals("0.0"))
|
||||||
&& (mraa.getVersion() != null)){
|
&& (mraa.getVersion() != null)){
|
||||||
String javaAPIVersion = mraa.class.getPackage().getSpecificationVersion();
|
String javaAPIVersion = mraa.class.getPackage().getSpecificationVersion();
|
||||||
String nativeAPIVersion = mraa.getVersion().substring(1);
|
String nativeAPIVersion = mraa.getVersion().substring(1);
|
||||||
|
|||||||
Reference in New Issue
Block a user