]> cloudbase.mooo.com Git - z180-stamp.git/blobdiff - avr/cmd_loadihex.c
commandtable, flags: int --> uint8_t/uint_fast8_t. Macro UNUSED for Parameters/Variables
[z180-stamp.git] / avr / cmd_loadihex.c
index 18d5331d8b2a0d9f8fc025cae787943ccf571d4b..ee4b40b8bd35e730f6347bbd0e53210d6b479a00 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * (C) Copyright 2015 Leo C. <erbl259-lmu@yahoo.de>
  *
- * SPDX-License-Identifier:    GPL-2.0+
+ * SPDX-License-Identifier:    GPL-2.0
  */
 
 #include "common.h"
@@ -151,7 +151,7 @@ int ihex_get_record(ihex_t *rec) {
 }
 
 
-command_ret_t do_loadihex(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
+command_ret_t do_loadihex(cmd_tbl_t *cmdtp, uint_fast8_t flag, int argc, char * const argv[])
 {
        long offset = 0;
        uint32_t base_address = 0;