X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=examples%2Fbasic%2Fapplication-generated.cpp;h=f4fddf0a943639c4cbaa5683177fecb5daf712c2;hb=refs%2Fchanges%2F07%2F18107%2F3;hp=88ee94b9ca965d26718f1ce519b7f9864ebed8d7;hpb=ab6a4a5eb285a1ca88b3ad87ee035b9956e253ed;p=apps%2Fagl-service-can-low-level.git diff --git a/examples/basic/application-generated.cpp b/examples/basic/application-generated.cpp index 88ee94b9..f4fddf0a 100644 --- 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 "../can/can-encoder.hpp" // >>>>> handlers.cpp >>>>> #include "can/canread.h" @@ -22,7 +22,7 @@ void initializeMyStuff() { } 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 } @@ -145,7 +145,8 @@ application_t::application_t() 1.00000f, handleObd2Pid, nullptr, - true + true, + false })} , {std::make_shared(diagnostic_message_t{ 12, @@ -156,7 +157,8 @@ application_t::application_t() 1.00000f, nullptr, nullptr, - true + true, + false })} , {std::make_shared(diagnostic_message_t{ 6, @@ -167,7 +169,8 @@ application_t::application_t() 1.00000f, handleMyDiagRequest, nullptr, - true + true, + false })} } // end diagnostic_messages_ vector