Skip to content

Commit

Permalink
fix: protobuf/echo/EchoInstantiation: fix compilation errors (#267)
Browse files Browse the repository at this point in the history
  • Loading branch information
richardapeters committed Apr 21, 2023
1 parent 30a8ae1 commit 9b53dc1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions protobuf/echo/EchoInstantiation.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#define PROTOBUF_ECHO_INSTANTIATIONS

#include "infra/util/BoundedVector.hpp"
#include "protobuf/echo/Echo.hpp"
#include "protobuf/echo/ServiceForwarder.hpp"
#include "services/util/MessageCommunicationCobs.hpp"
#include "services/util/MessageCommunicationWindowed.hpp"

Expand Down Expand Up @@ -64,7 +64,7 @@ namespace main_
{
public:
EchoForwarderToSerial(services::Echo& from, hal::SerialCommunication& toSerial)
: EchoForwarder<MessageSize, MaxServices>(from, toSerial)
: EchoForwarder<MessageSize, MaxServices>(from, to)
, to(toSerial)
{}

Expand Down

0 comments on commit 9b53dc1

Please sign in to comment.