Originally from Donal's blog article. http://mbed.org/users/donalm/code/BLE_Health_Thermometer_Blog/ Changed low freq. clock source from XTAL to IRC.

Dependents:   BLE_Health_Thermometer_IRC BLE_RCBController_micono_test BLE_konashi_PIO_test BLE_ADT7410_TMP102_Sample ... more

Fork of BLE_API_Native_blog by Donal Morrissey

Files at this revision

API Documentation at this revision

Comitter:
ktownsend
Date:
Thu Feb 13 10:38:40 2014 +0000
Parent:
5:2dca0528db6a
Child:
7:98bd2ebda25e
Commit message:
Removed unused interrupt in app_timer

Changed in this revision

hw/nRF51822n/nordic/app_common/app_timer.cpp Show annotated file Show diff for this revision Revisions of this file
hw/nRF51822n/nordic/nordic_global.h Show annotated file Show diff for this revision Revisions of this file
--- a/hw/nRF51822n/nordic/app_common/app_timer.cpp	Mon Feb 10 13:43:38 2014 +0000
+++ b/hw/nRF51822n/nordic/app_common/app_timer.cpp	Thu Feb 13 10:38:40 2014 +0000
@@ -976,9 +976,10 @@
     m_ticks_elapsed_q_read_ind  = 0;
     m_ticks_elapsed_q_write_ind = 0;
 
-    NVIC_ClearPendingIRQ(SWI0_IRQn);
-    NVIC_SetPriority(SWI0_IRQn, SWI0_IRQ_PRI);
-    NVIC_EnableIRQ(SWI0_IRQn);
+    // KTOWN: 1302024: This interrupt isn't used
+    //NVIC_ClearPendingIRQ(SWI0_IRQn);
+    //NVIC_SetPriority(SWI0_IRQn, SWI0_IRQ_PRI);
+    //NVIC_EnableIRQ(SWI0_IRQn);
 
     rtc1_init(prescaler);
 
--- a/hw/nRF51822n/nordic/nordic_global.h	Mon Feb 10 13:43:38 2014 +0000
+++ b/hw/nRF51822n/nordic/nordic_global.h	Thu Feb 13 10:38:40 2014 +0000
@@ -8,4 +8,4 @@
 #define BLE_STACK_SUPPORT_REQD
 #define BOARD_PCA10001
 
-#endif
\ No newline at end of file
+#endif