Skip to content

Commit 4b87634

Browse files
committed
Remove unused variables
1 parent 4458b8f commit 4b87634

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

N64Controller/N64Controller.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -143,8 +143,6 @@ void N64Controller::N64_init_PINB(char pincode) {
143143
void 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

257255
void N64Controller::N64_PINB_send(char pincode, unsigned char *buffer, char length) {
258256
char bits;
259-
bool bit;
260257
asm volatile (";Starting outer for loop");
261258
outer_loop:
262259
{
@@ -404,7 +401,6 @@ void N64Controller::N64_PINB_get(char pincode)
404401

405402
void 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

497493
void N64Controller::update() {
498-
unsigned char data, addr;
499494
unsigned char command[] = {0x01};
500495
if (n64_first_register) {
501496
noInterrupts();

0 commit comments

Comments
 (0)