Well it does not matter any more, the program is running fine without errors.
Thanks for the example, nice work.
It would be nice to have an 'write to USB memory stick' example and a "read from USB memory stick' example in the standaard examples...
I am an old man, working al lot with C in the 1980's. But I use also ChatGPT. It came to the same conclusion, it is a pointer directive not an operator.
It solved the compiler error for me. Maybe in the transfer from your program to here there...
I got also troubles with some USB memorysticks. It turned out is was not the program, but the wires from the teensy to the USB connector.
You need shielded wires or at least twisted wires and not to long.