Skip to content
Snippets Groups Projects
Commit c441ba5c authored by Guilherme Arthur Gerônimo's avatar Guilherme Arthur Gerônimo
Browse files

Rem empty IF #23

parent 4eb2f6ab
No related branches found
No related tags found
No related merge requests found
......@@ -88,8 +88,7 @@ namespace SmartData\SmartAPI
$ver = intval( $sd['version'] );
$return['series'][$pos]['version'] = ( $ver >> 4 ) . "." . ( $ver & 0x0F );
if (array_key_exists("SmartData", $sd)) {
} else if (array_key_exists('value', $sd)) {
if ( array_key_exists('value', $sd) ) {
$u = Unit::interpret( $sd['unit'] );
if ( $u->is_digital() && ( $sd['unit'] & 0x0FFF0000 ) == 0x02230000 ) {
$aux = base64_encode($sd['value']);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment