Преглед изворни кода

Make previous checkin actually compile! Should probably learn how branches work in git

BlueChip пре 3 година
родитељ
комит
43882f35e1
1 измењених фајлова са 3 додато и 2 уклоњено
  1. 3 2
      wii_anal_ec.c

+ 3 - 2
wii_anal_ec.c

@@ -43,8 +43,9 @@ bool  evWiiEC (const eventMsg_t* const msg,  state_t* const state)
 			if (state->ec.pidx == PID_CLASSIC_PRO) {
 				// Simulate a Long-OK keypress, to start Software Calibration mode
 				eventMsg_t  msg = {
-					input.type = InputTypeLong,
-					input.key  = InputKeyOk
+//					.id         = EVID_KEY,
+					.input.type = InputTypeLong,
+					.input.key  = InputKeyOk
 				};
 				key_calib(&msg, state);
 			}