@@ -76,10 +76,10 @@ void core1_init(core_1_fn_t function, void *arg) {
7676 /** We iterate through the cmd_sequence till we covered every param
7777 *(seq does not increase with each loop, thus we need to while loop this)
7878 */
79- while (seq < 6 ) {
79+ while (seq < 6 ) {
8080 uint32_t cmd = cmd_sequence [seq ];
8181 /* If the cmd is 0 we need to drain the READ FIFO first*/
82- if (cmd == 0 ) {
82+ if (cmd == 0 ) {
8383 /**
8484 * The official SDK does this
8585 * ```c
@@ -89,7 +89,7 @@ void core1_init(core_1_fn_t function, void *arg) {
8989 * fifo_rvalid checks whether rx fifo is empty and then the value
9090 * gets discarded (called multicore_fifo_drain in chapter 5.3)
9191 */
92- while (SIO -> FIFO_ST & 1 <<SIO_FIFO_READ_VALID_BIT ) {
92+ while (SIO -> FIFO_ST & 1 <<SIO_FIFO_READ_VALID_BIT ) {
9393 (void ) SIO -> FIFO_RD ; /* Table 39 FIFO_RD*/
9494 };
9595
@@ -114,7 +114,7 @@ void core1_init(core_1_fn_t function, void *arg) {
114114
115115 /* This is eq. to the SDK multicore_fifo_pop_blocking_inline*/
116116 /* We check whether there are events */
117- while (!(SIO -> FIFO_ST & 1 <<SIO_FIFO_READ_VALID_BIT )) {
117+ while (!(SIO -> FIFO_ST & 1 <<SIO_FIFO_READ_VALID_BIT )) {
118118 /* If not we simply wait,
119119 * fun fact, it appears like WFE is not optional in this scenario
120120 * not using wfe causes a double fault crash
0 commit comments