Skip to content

Commit

Permalink
[sw][nfc] Fix multi-line comment warning
Browse files Browse the repository at this point in the history
Signed-off-by: Luís Marques <luismarques@lowrisc.org>
  • Loading branch information
luismarques authored and jwnrt committed May 30, 2024
1 parent bec5baa commit 1369b99
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sw/device/lib/dif/dif_clkmgr.c
Original file line number Diff line number Diff line change
Expand Up @@ -235,9 +235,9 @@ dif_result_t dif_clkmgr_measure_ctrl_get_enable(const dif_clkmgr_t *clkmgr,
// there is a #define for the corresponding enable CSR offset.
//
// These macro are a tricky way to implement a macro like the following:
// #define CONDITIONALLY_DO \
// #ifdef SOMETHING do_something \
// #else do_something_else \
// #define CONDITIONALLY_DO \ ...
// #ifdef SOMETHING do_something \ ...
// #else do_something_else \ ...
// #endif
// However, such macros are illegal in C. So the macros below implement
// the conditional using a suggestion presented in
Expand Down

0 comments on commit 1369b99

Please sign in to comment.