Skip to content

Commit

Permalink
Remove redundant vars from getAnalogHat
Browse files Browse the repository at this point in the history
  • Loading branch information
jimnarey committed Nov 30, 2020
1 parent 652525e commit a96a1c6
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Firmware/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -245,8 +245,6 @@ uint8_t getButtonPress(ButtonEnum b){
//Parse analog stick requests for each type of controller.
int16_t getAnalogHat(AnalogHatEnum a){
int32_t xbOval=0;
uint8_t ps3val = 127;
int16_t ps3conv = 0;

if (Xbox360Wired.Xbox360Connected){
xbOval = Xbox360Wired.getAnalogHat(a);
Expand Down

0 comments on commit a96a1c6

Please sign in to comment.