Fixed incorrect array initialization.

This commit is contained in:
Stephen Anthony 2020-01-14 08:49:32 -03:30
parent 065df72619
commit 4cb752980c
1 changed files with 1 additions and 1 deletions

View File

@ -152,7 +152,7 @@ class Paddles : public Controller
bool myKeyRepeat0{false}, myKeyRepeat1{false};
int myPaddleRepeat0{0}, myPaddleRepeat1{0};
std::array<int, 2> myCharge{TRIGRANGE / 2}, myLastCharge{0};
std::array<int, 2> myCharge{TRIGRANGE/2, TRIGRANGE/2}, myLastCharge{0};
int myLastAxisX{0}, myLastAxisY{0};
int myAxisDigitalZero{0}, myAxisDigitalOne{0};