Skip to content

Commit

Permalink
Update CanDataRegister.cpp
Browse files Browse the repository at this point in the history
change registerService instance
  • Loading branch information
SeungWoo-L authored Jan 12, 2024
1 parent 6d70b54 commit 9319517
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CanDataRegister.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ CanDataRegister::~CanDataRegister() {}

/* Registers the vSOME/IP service*/
void CanDataRegister::SpeedSensor_Init(){
while(!runtime->registerService("local", "SpeedSensor", SpeedRpmService, "SpeedRpmService")){
while(!runtime->registerService("local", "commonapi.SpeedSensor", SpeedRpmService, "SpeedRpmService")){
std::cout << "Register SpeedRpm Service failed, trying again in 100 milliseconds..." << std::endl;
std::this_thread::sleep_for(std::chrono::milliseconds(100));
}
Expand Down

0 comments on commit 9319517

Please sign in to comment.