nrf5/hal: Making nrf51/2_hal.h go trough nrf.h to find bitfields and other mcu headers instead of explicit include.

This commit is contained in:
Glenn Ruben Bakke 2017-01-08 16:20:01 +01:00
parent 392e226b2c
commit db9eef64a5
2 changed files with 2 additions and 4 deletions

View File

@ -24,8 +24,7 @@
* THE SOFTWARE.
*/
#include <nrf51.h>
#include <nrf51_bitfields.h>
#include <nrf.h>
// include config from board
#include "nrf51_hal_conf.h"

View File

@ -24,8 +24,7 @@
* THE SOFTWARE.
*/
#include <nrf52.h>
#include <nrf52_bitfields.h>
#include <nrf.h>
// include config from board
#include "nrf52_hal_conf.h"