Просмотр исходного кода

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

BlueChip 3 лет назад
Родитель
Сommit
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);
 			}