sifive/freedom-metal

riscv_clint0.c: 249 Return value is set, then overwritten

Opened this issue · 0 comments

rc = __METAL_ACCESS_ONCE(

riscv_clint0.c: 249 : __metal_driver_riscv_clint0_command_request()

        rc = __METAL_ACCESS_ONCE(
            (__metal_io_u32 *)(control_base + (hartid * 4)));
        rc = 0;