| 182 | } |
| 183 | |
| 184 | static void PADProbeCallback(s32 chan, u32 error, OSContext* context) |
| 185 | { |
| 186 | if (!(error & |
| 187 | (SI_ERROR_UNDER_RUN | SI_ERROR_OVER_RUN | SI_ERROR_NO_RESPONSE | SI_ERROR_COLLISION))) |
| 188 | { |
| 189 | PADEnable(ResettingChan); |
| 190 | WaitingBits |= PAD_CHAN0_BIT >> ResettingChan; |
| 191 | } |
| 192 | DoReset(); |
| 193 | } |
| 194 | |
| 195 | static void PADTypeAndStatusCallback(s32 chan, u32 type) |
| 196 | { |