Browse Source

Fix compiler warning: sketch/Dcodes.cpp: In function 'void print_eeprom(uint16_t, uint16_t, uint8_t)':

sketch/Dcodes.cpp:37:12: warning: unused variable 'data' [-Wunused-variable]
Marek Bel 5 years ago
parent
commit
15c598fd6a
1 changed files with 0 additions and 1 deletions
  1. 0 1
      Firmware/Dcodes.cpp

+ 0 - 1
Firmware/Dcodes.cpp

@@ -34,7 +34,6 @@ void print_eeprom(uint16_t address, uint16_t count, uint8_t countperline = 16)
 		uint8_t count_line = countperline;
 		while (count && count_line)
 		{
-			uint8_t data = 0;
 			putchar(' ');
 			print_hex_byte(eeprom_read_byte((uint8_t*)address++));
 			count_line--;