riscv-compliance: whitespace cleanup
This commit is contained in:
parent
d673062291
commit
bc32aaafa4
|
@ -1223,7 +1223,6 @@ COMMAND_HANDLER(riscv_test_compliance) {
|
||||||
LOG_ERROR("This target does not support this command (may implement an older version of the spec).");
|
LOG_ERROR("This target does not support this command (may implement an older version of the spec).");
|
||||||
return ERROR_FAIL;
|
return ERROR_FAIL;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
COMMAND_HANDLER(riscv_set_scratch_ram)
|
COMMAND_HANDLER(riscv_set_scratch_ram)
|
||||||
|
@ -1237,7 +1236,7 @@ COMMAND_HANDLER(riscv_set_scratch_ram)
|
||||||
return ERROR_OK;
|
return ERROR_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO: use COMMAND_PARSE_NUMBER
|
/** TODO: use COMMAND_PARSE_NUMBER **/
|
||||||
long long unsigned int address;
|
long long unsigned int address;
|
||||||
int result = sscanf(CMD_ARGV[0], "%llx", &address);
|
int result = sscanf(CMD_ARGV[0], "%llx", &address);
|
||||||
if (result != (int) strlen(CMD_ARGV[0])) {
|
if (result != (int) strlen(CMD_ARGV[0])) {
|
||||||
|
|
Loading…
Reference in New Issue