more10

Is ReadFlash and WriteFlash in M25P16.c dead code?

Discussion created by more10 on Sep 23, 2013
Latest reply on Sep 23, 2013 by CraigG

There are two functions with the following prototypes in file C:\Program Files\Analog Devices\VisualDSP 5.0\214xx\lib\src\drivers\flash\M25P16.c:

 

ERROR_CODE ReadFlash( unsigned long ulAddr, unsigned short *pusValue )
ERROR_CODE WriteFlash( unsigned long ulAddr, unsigned short usValue )

 

They are not declared in the header file. They are not called within M25P16.c. Is this dead code?

Outcomes