From 7ee1ab3c17d2e7378606b30fc1385490dca67f30 Mon Sep 17 00:00:00 2001 From: Peter Johnson Date: Mon, 29 Jan 2018 22:44:42 -0800 Subject: [PATCH] Implement InitSendable for C++. --- src/main/native/cpp/Sweep.cpp | 2 ++ src/main/native/include/Sweep.hpp | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/main/native/cpp/Sweep.cpp b/src/main/native/cpp/Sweep.cpp index 1d7186c..629cc16 100644 --- a/src/main/native/cpp/Sweep.cpp +++ b/src/main/native/cpp/Sweep.cpp @@ -105,4 +105,6 @@ void Sweep::Reset() { } } +void Sweep::InitSendable(SendableBuilder& builder) {} + } diff --git a/src/main/native/include/Sweep.hpp b/src/main/native/include/Sweep.hpp index 5134c99..6509058 100644 --- a/src/main/native/include/Sweep.hpp +++ b/src/main/native/include/Sweep.hpp @@ -42,6 +42,8 @@ class Sweep : public frc::SensorBase { void Reset(); + void InitSendable(SendableBuilder& builder) override; + private: sweep_device* m_device; };