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
1714c9c5
Commit
1714c9c5
authored
Aug 20, 2020
by
captainwong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix gcc cry
parent
6577982c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
server_demo_libevent.cpp
examples/server_demo_libevent/server_demo_libevent.cpp
+7
-7
No files found.
examples/server_demo_libevent/server_demo_libevent.cpp
View file @
1714c9c5
...
...
@@ -65,13 +65,13 @@ using namespace hb;
using
namespace
hb
::
common
;
// fix gcc cry
#ifdef __GNUG__
constexpr
Char
com
::
MachineStatusRequest3Section
::
data
[
com
::
MachineStatusRequest3Section
::
len
]
=
{
0xEB
,
0xCB
,
0x3F
,
0x06
,
0xB0
,
0xAB
};
constexpr
Char
com
::
ZoneRequest
::
data
[
com
::
ZoneRequest
::
len
]
=
{
0xEB
,
0xAB
,
0x3F
,
0xA1
,
0x76
};
constexpr
Char
com
::
ZoneRequestMore
::
data
[
com
::
ZoneRequestMore
::
len
]
=
{
0xEB
,
0xAB
,
0x3F
,
0xA2
,
0x77
};
constexpr
Char
com
::
QuerySensorLostSettingsRequest
::
data
[
com
::
QuerySensorLostSettingsRequest
::
len
]
=
{
0xEB
,
0xAB
,
0x3F
,
0xAC
,
0x81
};
constexpr
Char
com
::
QueryMoreSensorLostSettingsRequest
::
data
[
com
::
QueryMoreSensorLostSettingsRequest
::
len
]
=
{
0xEB
,
0xAB
,
0x3F
,
0xAD
,
0x82
};
#endif
//
#ifdef __GNUG__
//
constexpr Char com::MachineStatusRequest3Section::data[com::MachineStatusRequest3Section::len] = { 0xEB, 0xCB, 0x3F, 0x06, 0xB0, 0xAB };
//
constexpr Char com::ZoneRequest::data[com::ZoneRequest::len] = { 0xEB, 0xAB, 0x3F, 0xA1, 0x76 };
//
constexpr Char com::ZoneRequestMore::data[com::ZoneRequestMore::len] = { 0xEB, 0xAB, 0x3F, 0xA2, 0x77 };
//
constexpr Char com::QuerySensorLostSettingsRequest::data[com::QuerySensorLostSettingsRequest::len] = { 0xEB, 0xAB, 0x3F, 0xAC, 0x81 };
//
constexpr Char com::QueryMoreSensorLostSettingsRequest::data[com::QueryMoreSensorLostSettingsRequest::len] = { 0xEB, 0xAB, 0x3F, 0xAD, 0x82 };
//
#endif
enum
class
QueryZoneStage
{
...
...
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