FRC2706 / 2019-2706-Robot-Code

The main robot code for the FIRST 2019 challenge: Deep Space
MIT License
2 stars 0 forks source link

Fix double subsystem initialization #37

Closed ryanlarkin closed 5 years ago

ryanlarkin commented 5 years ago

Summary of Changes

As I brought up in #36, subsystems might be initialized twice. Resolved this by adding a null check. Fixes #36.

Testing Performed

Works as before, without the double-init bug Environment: Plyboy