From fe597eeba10742c4b07ac63fbc657ea6839205a7 Mon Sep 17 00:00:00 2001 From: Thad House Date: Wed, 15 Jan 2020 18:58:14 -0800 Subject: [PATCH] Fix SPI DIO count for sim (#2272) Only 26 DIO were detectable, not 31. --- hal/src/main/native/sim/PortsInternal.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hal/src/main/native/sim/PortsInternal.h b/hal/src/main/native/sim/PortsInternal.h index cfbf1e7c2d..d143aca9ce 100644 --- a/hal/src/main/native/sim/PortsInternal.h +++ b/hal/src/main/native/sim/PortsInternal.h @@ -1,5 +1,5 @@ /*----------------------------------------------------------------------------*/ -/* Copyright (c) 2016-2019 FIRST. All Rights Reserved. */ +/* Copyright (c) 2016-2020 FIRST. All Rights Reserved. */ /* Open Source Software - may be modified and shared by FRC teams. The code */ /* must be accompanied by the FIRST BSD license file in the root directory of */ /* the project. */ @@ -17,7 +17,7 @@ constexpr int32_t kNumAnalogOutputs = 2; constexpr int32_t kNumCounters = 8; constexpr int32_t kNumDigitalHeaders = 10; constexpr int32_t kNumPWMHeaders = 10; -constexpr int32_t kNumDigitalChannels = 26; +constexpr int32_t kNumDigitalChannels = 31; constexpr int32_t kNumPWMChannels = 20; constexpr int32_t kNumDigitalPWMOutputs = 6; constexpr int32_t kNumEncoders = 8;