ReadFlashMemory3.c 835 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. /*====================================================================*
  2. *
  3. * Copyright (c) 2013 Qualcomm Atheros, Inc.
  4. *
  5. * All rights reserved.
  6. *
  7. *====================================================================*/
  8. /*====================================================================*
  9. *
  10. * signed ReadFlashMemory3 (struct plc * plc);
  11. *
  12. * plc.h
  13. *
  14. * call appropriate function if AccessLevelPTS permits it; return
  15. * -1 if not;
  16. *
  17. * Contributor(s):
  18. * Charles Maier <cmaier@qca.qualcomm.com>
  19. *
  20. *--------------------------------------------------------------------*/
  21. #ifndef READFLASHMEMORY3_SOURCE
  22. #define READFLASHMEMORY3_SOURCE
  23. #include "../plc/plc.h"
  24. #include "../nda/nda.h"
  25. signed ReadFlashMemory3 (struct plc * plc)
  26. {
  27. return (~ AccessLevelPTS (plc)? ReadFlashMemory2 (plc): (-1));
  28. }
  29. #endif