From 6bc092f3ae678f4c31d877fff622508e8b08aedd Mon Sep 17 00:00:00 2001 From: Thad House Date: Fri, 18 Nov 2016 14:14:51 -0800 Subject: [PATCH] Updates SPI device pin (#348) --- wpilibcIntegrationTests/src/TiltPanCameraTest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wpilibcIntegrationTests/src/TiltPanCameraTest.cpp b/wpilibcIntegrationTests/src/TiltPanCameraTest.cpp index ed81883055..d86b1e1171 100644 --- a/wpilibcIntegrationTests/src/TiltPanCameraTest.cpp +++ b/wpilibcIntegrationTests/src/TiltPanCameraTest.cpp @@ -48,7 +48,7 @@ class TiltPanCameraTest : public testing::Test { void SetUp() override { m_tilt = new Servo(TestBench::kCameraTiltChannel); m_pan = new Servo(TestBench::kCameraPanChannel); - m_spiAccel = new ADXL345_SPI(SPI::kOnboardCS0); + m_spiAccel = new ADXL345_SPI(SPI::kOnboardCS1); m_tilt->Set(kTiltSetpoint45); m_pan->SetAngle(0.0f);