@@ -143,8 +143,6 @@ void N64Controller::N64_init_PINB(char pincode) {
143143void N64Controller::N64_PIND_send (char pincode, unsigned char *buffer, char length) {
144144 // Send these bytes
145145 char bits;
146-
147- bool bit;
148146
149147 // This routine is very carefully timed by examining the assembly output.
150148 // Do not change any statements, it could throw the timings off
@@ -256,7 +254,6 @@ void N64Controller::N64_PIND_send(char pincode, unsigned char *buffer, char leng
256254
257255void N64Controller::N64_PINB_send (char pincode, unsigned char *buffer, char length) {
258256 char bits;
259- bool bit;
260257 asm volatile (" ;Starting outer for loop" );
261258outer_loop:
262259 {
@@ -404,7 +401,6 @@ void N64Controller::N64_PINB_get(char pincode)
404401
405402void N64Controller::print_N64_status ()
406403{
407- int i;
408404 // bits: A, B, Z, Start, Dup, Ddown, Dleft, Dright
409405 // bits: 0, 0, L, R, Cup, Cdown, Cleft, Cright
410406 Serial.println ();
@@ -495,7 +491,6 @@ void N64Controller::translate_raw_data()
495491}
496492
497493void N64Controller::update () {
498- unsigned char data, addr;
499494 unsigned char command[] = {0x01 };
500495 if (n64_first_register) {
501496 noInterrupts ();
0 commit comments