When I used to use the old H7 plus, the sd card was mounted just by connecting usb to the PC, but now the sd card is not recognized
You don’t need any code to mount the SD card, it should be mounted to / on boot.
/