Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
agocontrol
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
27
Issues
27
List
Board
Labels
Milestones
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
agocontrol
agocontrol
Commits
ef995563
Commit
ef995563
authored
Sep 10, 2014
by
Tang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Comment traceback code that only compile under i386
parent
1a49f5bb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
agoMySensors.cpp
devices/MySensors/agoMySensors.cpp
+4
-4
No files found.
devices/MySensors/agoMySensors.cpp
View file @
ef995563
...
...
@@ -58,7 +58,7 @@ string device = "";
/**
* Traceback stack
*/
void
my_terminate
(
void
);
/*
void my_terminate(void);
namespace {
// invoke set_terminate as part of global constant initialization
...
...
@@ -139,7 +139,7 @@ void my_terminate() {
free(messages);
abort();
}
}
*/
/**
* Split specified string
...
...
@@ -1748,14 +1748,14 @@ void *receiveFunction(void *param) {
int
main
(
int
argc
,
char
**
argv
)
{
//exception handling (trace back)
struct
sigaction
sigact
;
/*
struct sigaction sigact;
sigact.sa_sigaction = crit_err_hdlr;
sigact.sa_flags = SA_RESTART | SA_SIGINFO;
if (sigaction(SIGABRT, &sigact, (struct sigaction *)NULL) != 0)
{
std::cerr << "error setting handler for signal " << SIGABRT << " (" << strsignal(SIGABRT) << ")\n";
exit(EXIT_FAILURE);
}
}
*/
//get config
device
=
getConfigOption
(
"mysensors"
,
"device"
,
"/dev/ttyACM0"
);
...
...
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