This function does nothing on beta/release hardware, because the Micron flash doesn't have a command 0x31.
It is a left-over from alpha hardware which used a Winbond flash chip. However, it doesn't work there either, because to write the status register you have to send a write enable command first.
https://github.com/32blit/32blit-sdk/blob/c47e2a9bfb95c1fafaa17c9a2d980555ecca48dc/32blit-stm32/Src/quadspi.c#L390
This function does nothing on beta/release hardware, because the Micron flash doesn't have a command 0x31.
It is a left-over from alpha hardware which used a Winbond flash chip. However, it doesn't work there either, because to write the status register you have to send a write enable command first.