AnsweredAssumed Answered

How does the disk_write function in diskio.c work

Question asked by greenwood.greg on Mar 23, 2018
Latest reply on Mar 23, 2018 by Clive One

As I am debugging code I ran into a problem in f_close which leads me to the disk_write function in diskio.c.  It looks like this function calls itself?  I am stuggling to understand just what this line does:

res = disk.drv[pdrv]->disk_write(disk.lun[pdrv], buff, sector, count);