Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
A
ademco_hb
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
captainwong
ademco_hb
Commits
9a5c92b1
Commit
9a5c92b1
authored
Sep 03, 2020
by
captainwong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
log
parent
5f13a13c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
ademco_packet.h
include/ademco_packet.h
+3
-3
No files found.
include/ademco_packet.h
View file @
9a5c92b1
...
...
@@ -1087,7 +1087,7 @@ struct AdemcoPacket
// check LF
if
(
pack
[
0
]
!=
LF
)
{
JLOG_ERRO
(
"AdemcoPacket::Parse pack[0] {:d} 0x{:02X} is not _LF"
,
pack
[
0
],
pack
[
0
]);
JLOG_ERRO
(
"AdemcoPacket::Parse pack[0] {:d} 0x{:02X} is not _LF"
,
(
int
)
pack
[
0
],
(
unsigned
char
)
pack
[
0
]);
#ifdef _WIN32
return
ParseResult
::
RESULT_DATA_ERROR
;
#else
...
...
@@ -1235,8 +1235,8 @@ struct AdemcoPacket
}
// dump data
JLOG_HEX
(
pack
,
std
::
min
(
pack_len
,
size_t
(
4096u
)));
JLOG_ASC
(
pack
,
std
::
min
(
pack_len
,
size_t
(
4096u
)));
JLOG_HEX
(
pack
,
std
::
min
(
pack_len
,
size_t
(
1024
)));
JLOG_ASC
(
pack
,
std
::
min
(
pack_len
,
size_t
(
1024
)));
assert
(
0
);
return
ParseResult
::
RESULT_DATA_ERROR
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment