PAD: Fix struct member 'structname::variable' is never used warnings.

Codacy.
This commit is contained in:
lightningterror 2022-07-15 02:47:33 +02:00
parent 9f8f2f6730
commit 69cc5a559e
1 changed files with 0 additions and 4 deletions

View File

@ -174,8 +174,6 @@ struct LightState
unsigned char duration; unsigned char duration;
// Have to make one or the other non-zero to turn on light. // Have to make one or the other non-zero to turn on light.
unsigned char dunno[2]; unsigned char dunno[2];
// 0 is fully lit.
unsigned char dimness;
// Have to make non-zero to turn on light. // Have to make non-zero to turn on light.
unsigned char on; unsigned char on;
}; };
@ -184,10 +182,8 @@ struct LightState
struct DS3Command struct DS3Command
{ {
unsigned char id; unsigned char id;
unsigned char unsure;
// Small is first, then big. // Small is first, then big.
MotorState motors[2]; MotorState motors[2];
unsigned char noClue[4];
// 2 is pad 1 light, 4 is pad 2, 8 is pad 3, 16 is pad 4. No clue about the others. // 2 is pad 1 light, 4 is pad 2, 8 is pad 3, 16 is pad 4. No clue about the others.
unsigned char lightFlags; unsigned char lightFlags;
// Lights are in reverse order. pad 1 is last. // Lights are in reverse order. pad 1 is last.