Sergey Solodunov / nRF51822

Dependencies:   nrf51-sdk

Fork of nRF51822 by Nordic Semiconductor

Revision:
498:d72c7e78ee13
Parent:
496:08bd8a46630b
--- a/source/nordic-sdk/components/device/nrf51_deprecated.h	Wed Dec 02 10:32:51 2015 +0000
+++ b/source/nordic-sdk/components/device/nrf51_deprecated.h	Wed Dec 02 10:32:52 2015 +0000
@@ -29,6 +29,7 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  *
  */
+
 #ifndef NRF51_DEPRECATED_H
 #define NRF51_DEPRECATED_H
 
@@ -41,13 +42,13 @@
 
 /* NVMC */
 /* The register ERASEPROTECTEDPAGE is called ERASEPCR0 in the documentation. */
-#define ERASEPCR0   ERASEPROTECTEDPAGE
-/* The register ERASEPAGE is also called ERASEPCR1 in the documentation. */
-#define ERASEPCR1   ERASEPAGE
+#define ERASEPROTECTEDPAGE   ERASEPCR0
+
  
 /* LPCOMP */
 /* The interrupt ISR was renamed. Adding old name to the macros. */
 #define LPCOMP_COMP_IRQHandler      LPCOMP_IRQHandler
+#define LPCOMP_COMP_IRQn            LPCOMP_IRQn
  
  
 /* MPU */