Warning: flash_write_protection_set is deprecated while using low level API for external flash.

Hello, 

I am using flash_write_protection_set function with few low level function call for accessing extremal flash with nRF9160. And because of that I am facing one warning "warning: flash_write_protection_set is deprecated [Wdeprecated-declarations]". Can you please help me how to remove this warning from the project. I read few documents/Nordic forum tickets but did not found any solution for the same. 

Thank you!

Regards,

Chetan

Related