Skip to content

Commit

Permalink
Implement InitSendable for C++.
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterJohnson committed Jan 30, 2018
1 parent 44f08bb commit 7ee1ab3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/native/cpp/Sweep.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -105,4 +105,6 @@ void Sweep::Reset() {
}
}

void Sweep::InitSendable(SendableBuilder& builder) {}

}
2 changes: 2 additions & 0 deletions src/main/native/include/Sweep.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ class Sweep : public frc::SensorBase {

void Reset();

void InitSendable(SendableBuilder& builder) override;

private:
sweep_device* m_device;
};
Expand Down

0 comments on commit 7ee1ab3

Please sign in to comment.