aboutsummaryrefslogtreecommitdiffstats
path: root/vex/vexspi.cpp
diff options
context:
space:
mode:
authorClyne Sullivan <tullivan99@gmail.com>2016-12-01 10:13:44 -0500
committerClyne Sullivan <tullivan99@gmail.com>2016-12-01 10:13:44 -0500
commitea9922ac767c43818c123965d40f766a52a744c9 (patch)
tree4745c3724d559484142c1f6598ddf6f73f499de2 /vex/vexspi.cpp
parent217e48a59d9d45eb87ea46e7fc32ce8d612ad462 (diff)
competition control is goodHEADmaster
Diffstat (limited to 'vex/vexspi.cpp')
-rw-r--r--vex/vexspi.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/vex/vexspi.cpp b/vex/vexspi.cpp
index 4d05b9e..dd059e8 100644
--- a/vex/vexspi.cpp
+++ b/vex/vexspi.cpp
@@ -198,4 +198,8 @@ namespace spi {
return vexSpiData.rxdata.pak.batt2 * 59;
}
+ int getState(void) {
+ return vexSpiData.rxdata.pak.ctl;
+ }
+
}