changes after pull request

This commit is contained in:
Denis Bodor
2017-07-20 13:00:37 +02:00
committed by Benjamin Larsson
parent 1a2ddb137c
commit 47eca07e2d

View File

@@ -1,5 +1,4 @@
#include "rtl_433.h"
#include "pulse_demod.h"
#include "util.h"
/*
@@ -22,8 +21,6 @@ static int cardin_callback(bitbuffer_t *bitbuffer) {
data_t *data;
char time_str[LOCAL_TIME_BUFLEN];
local_time_str(0, time_str);
// validate message as we can
if((bb[0][2] & 48) == 0 && bitbuffer->bits_per_row[0] == 24 && (
(bb[0][2] & 3) == 3 ||
@@ -120,6 +117,7 @@ static int cardin_callback(bitbuffer_t *bitbuffer) {
strcpy(rbuttonJ1, "--o");
}
local_time_str(0, time_str);
data = data_make(
"time", "", DATA_STRING, time_str,
"model", "", DATA_STRING, "Cardin S466",