diff --git a/avr/usbload/shared_memory.c b/avr/usbload/shared_memory.c index 84c4868..7fd3d49 100644 --- a/avr/usbload/shared_memory.c +++ b/avr/usbload/shared_memory.c @@ -298,7 +298,7 @@ void shared_memory_yield() int shared_memory_read(uint8_t *cmd, uint8_t *len,uint8_t *buffer) { - uint8_t state; + //uint8_t state; #if DO_SHM #if DO_SHM_SCRATCHPAD if (scratchpad_locked_rx){ diff --git a/avr/usbload/shell.c b/avr/usbload/shell.c index 37fd3ca..076ca00 100644 --- a/avr/usbload/shell.c +++ b/avr/usbload/shell.c @@ -119,6 +119,7 @@ uint8_t get_hex_arg3(uint32_t *hexval1, uint32_t *hexval2, uint32_t *hexval3) return get_hex(hexval1) && get_hex(hexval2) && get_hex(hexval3); } +#if 0 static uint8_t get_int32(uint32_t *val) { if (!get_hex(val)){ @@ -140,7 +141,7 @@ static uint8_t get_int32(uint32_t *val) return 1; } } - +#endif static int get_bool(void) { const uint8_t *t; @@ -255,10 +256,8 @@ void shell_run(void) uint8_t *t; uint32_t arg1; uint32_t arg2; - uint32_t arg3; uint16_t crc; uint16_t offset; - uint16_t i; uint8_t c; if (!cr) diff --git a/avr/usbload/sram.c b/avr/usbload/sram.c index de514db..d898f31 100644 --- a/avr/usbload/sram.c +++ b/avr/usbload/sram.c @@ -311,7 +311,7 @@ void sram_bulk_copy_into_buffer(uint32_t addr, uint8_t * dst, uint32_t len) { uint32_t i; - uint8_t *ptr = dst; + //uint8_t *ptr = dst; debug_P(DEBUG_SRAM, PSTR("sram_bulk_copy_into_buffer: addr=0x%08lx dst=0x%p len=%li\n\r"), addr, dst, len); sram_bulk_read_start(addr);