From d18c2f23d381b47cf14fd7edd099be40a3e21b62 Mon Sep 17 00:00:00 2001 From: Tim Newsome Date: Wed, 7 Nov 2018 13:53:52 -0800 Subject: [PATCH] Doxygen style, too. (#325) * Doxygen style, too. Change-Id: I85e60e8577c4177ac7094ae41ee84357b292a89c * More Doxygen. Change-Id: Ic7477dce5459146f299e080cac1a3f133af7abdb --- src/target/riscv/riscv-013.c | 4 ++-- src/target/riscv/riscv.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/target/riscv/riscv-013.c b/src/target/riscv/riscv-013.c index 529fba73c..ccb003287 100644 --- a/src/target/riscv/riscv-013.c +++ b/src/target/riscv/riscv-013.c @@ -754,7 +754,7 @@ static int write_abstract_arg(struct target *target, unsigned index, } /** - * @size in bits + * @par size in bits */ static uint32_t access_register_command(struct target *target, uint32_t number, unsigned size, uint32_t flags) @@ -1743,7 +1743,7 @@ static int deassert_reset(struct target *target) } /** - * @size in bytes + * @par size in bytes */ static void write_to_buf(uint8_t *buffer, uint64_t value, unsigned size) { diff --git a/src/target/riscv/riscv.c b/src/target/riscv/riscv.c index 3331b0008..1c89e6de4 100644 --- a/src/target/riscv/riscv.c +++ b/src/target/riscv/riscv.c @@ -514,7 +514,7 @@ int riscv_add_breakpoint(struct target *target, struct breakpoint *breakpoint) { assert(breakpoint); if (breakpoint->type == BKPT_SOFT) { - /* @todo check RVC for size/alignment */ + /** @todo check RVC for size/alignment */ if (!(breakpoint->length == 4 || breakpoint->length == 2)) { LOG_ERROR("Invalid breakpoint length %d", breakpoint->length); return ERROR_FAIL;