[sim] Properly initialize AnalogTrigger (#2646)

This commit is contained in:
Peter Johnson
2020-08-19 21:58:07 -07:00
committed by GitHub
parent bccf13bf67
commit e127bac7fd
2 changed files with 3 additions and 1 deletions

View File

@@ -61,6 +61,7 @@ void InitializeHAL() {
InitializeAnalogInput(); InitializeAnalogInput();
InitializeAnalogInternal(); InitializeAnalogInternal();
InitializeAnalogOutput(); InitializeAnalogOutput();
InitializeAnalogTrigger();
InitializeCAN(); InitializeCAN();
InitializeCompressor(); InitializeCompressor();
InitializeConstants(); InitializeConstants();

View File

@@ -1,5 +1,5 @@
/*----------------------------------------------------------------------------*/ /*----------------------------------------------------------------------------*/
/* Copyright (c) 2017-2019 FIRST. All Rights Reserved. */ /* Copyright (c) 2017-2020 FIRST. All Rights Reserved. */
/* Open Source Software - may be modified and shared by FRC teams. The code */ /* 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 */ /* must be accompanied by the FIRST BSD license file in the root directory of */
/* the project. */ /* the project. */
@@ -48,6 +48,7 @@ extern void InitializeAnalogGyro();
extern void InitializeAnalogInput(); extern void InitializeAnalogInput();
extern void InitializeAnalogInternal(); extern void InitializeAnalogInternal();
extern void InitializeAnalogOutput(); extern void InitializeAnalogOutput();
extern void InitializeAnalogTrigger();
extern void InitializeCAN(); extern void InitializeCAN();
extern void InitializeCompressor(); extern void InitializeCompressor();
extern void InitializeConstants(); extern void InitializeConstants();