Code Review
/
apps
/
agl-service-can-low-level.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Use newly generated cpp file with default encoders
[apps/agl-service-can-low-level.git]
/
examples
/
basic
/
application-generated.cpp
diff --git
a/examples/basic/application-generated.cpp
b/examples/basic/application-generated.cpp
index
88ee94b
..
f4fddf0
100644
(file)
--- a/
examples/basic/application-generated.cpp
+++ b/
examples/basic/application-generated.cpp
@@
-1,6
+1,6
@@
#include "application.hpp"
#include "../can/can-decoder.hpp"
#include "application.hpp"
#include "../can/can-decoder.hpp"
-
+#include "../can/can-encoder.hpp"
// >>>>> handlers.cpp >>>>>
#include "can/canread.h"
// >>>>> handlers.cpp >>>>>
#include "can/canread.h"
@@
-22,7
+22,7
@@
void initializeMyStuff() { }
void initializeOtherStuff() { }
void myLooper() {
void initializeOtherStuff() { }
void myLooper() {
- // this function will be called once each time through the main loop, after
+ // this function will be called once
,
each time through the main loop, after
// all CAN message processing has been completed
}
// all CAN message processing has been completed
}
@@
-145,7
+145,8
@@
application_t::application_t()
1.00000f,
handleObd2Pid,
nullptr,
1.00000f,
handleObd2Pid,
nullptr,
- true
+ true,
+ false
})}
, {std::make_shared<diagnostic_message_t>(diagnostic_message_t{
12,
})}
, {std::make_shared<diagnostic_message_t>(diagnostic_message_t{
12,
@@
-156,7
+157,8
@@
application_t::application_t()
1.00000f,
nullptr,
nullptr,
1.00000f,
nullptr,
nullptr,
- true
+ true,
+ false
})}
, {std::make_shared<diagnostic_message_t>(diagnostic_message_t{
6,
})}
, {std::make_shared<diagnostic_message_t>(diagnostic_message_t{
6,
@@
-167,7
+169,8
@@
application_t::application_t()
1.00000f,
handleMyDiagRequest,
nullptr,
1.00000f,
handleMyDiagRequest,
nullptr,
- true
+ true,
+ false
})}
} // end diagnostic_messages_ vector
})}
} // end diagnostic_messages_ vector