mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-20 00:51:42 +00:00
Add missing compiler flags and fix warnings (#4889)
This makes the build fail on warnings. It caught two out-of-bounds reads and a deprecation warning.
This commit is contained in:
@@ -51,7 +51,7 @@ class RobotContainer {
|
||||
OnBoardIO::ChannelMode::INPUT};
|
||||
|
||||
// Example button
|
||||
frc2::Button m_onboardButtonA{
|
||||
frc2::Trigger m_onboardButtonA{
|
||||
[this] { return m_onboardIO.GetButtonAPressed(); }};
|
||||
|
||||
// Autonomous commands.
|
||||
|
||||
Reference in New Issue
Block a user