problem with loops and voids and saving outputs in a SD card

What is the my_loop() function for ? It is never called. Why is it there anyway ?