[riot-notifications] [RIOT-OS/RIOT] fe310: Use ecall instruction for thread yield (#15736)

Koen Zandberg notifications at github.com
Mon Jan 11 12:02:13 CET 2021


@bergzand commented on this pull request.



> +            case 8:  /* ECALL from user mode */
+            case 11: /* ECALL from machine mode */

> Style nit: `case` labels and the `switch` statement should have the same indent level, only code after the `case` should have an indent.

That whole file could use a good round of uncrustify. Fixed it here for a start, I'll open an uncrustify PR later.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/15736#discussion_r554967978
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210111/32983867/attachment.htm>


More information about the notifications mailing list