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]
This commit is contained in:
Marek Bel 2018-08-01 19:38:05 +02:00
parent 1685f83020
commit 15c598fd6a

View File

@ -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--;