mirror of
https://github.com/merbanan/rtl_433.git
synced 2026-05-18 23:05:27 -04:00
changes after pull request
This commit is contained in:
committed by
Benjamin Larsson
parent
1a2ddb137c
commit
47eca07e2d
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user