able to build

This commit is contained in:
hathach
2018-02-09 23:06:27 +07:00
parent 7de0b11529
commit 342eaaee10
99 changed files with 31620 additions and 5052 deletions

View File

@ -40,7 +40,7 @@ STATIC_ASSERT(RTC1_IRQ_PRI == SWI_IRQ_PRI);
#ifdef NRF51
#define SWI_IRQn SWI0_IRQn
#define SWI_IRQHandler SWI0_IRQHandler
#elif defined NRF52
#elif defined(NRF52832_XXAA) || defined(NRF52840_XXAA)
#define SWI_IRQn SWI0_EGU0_IRQn
#define SWI_IRQHandler SWI0_EGU0_IRQHandler
#endif

View File

@ -279,7 +279,7 @@ uint32_t app_timer_cnt_diff_compute(uint32_t ticks_to,
*
* @return Maximum number of events in queue observed so far.
*/
uint16_t app_timer_op_queue_utilization_get(void);
uint8_t app_timer_op_queue_utilization_get(void);
#endif
#endif // APP_TIMER_H__