Add Watchdog and ResetReason headers to mbed.h

Adding headers to mbed.h will prevent you having to manually include
them when using the drivers in an application.
pull/11023/head
Steven Cartmell 2018-03-27 15:31:23 +02:00 committed by Martin Kojtal
parent 59c7b3a7f9
commit fa3e37f75d
1 changed files with 2 additions and 0 deletions

2
mbed.h
View File

@ -76,6 +76,8 @@
#include "drivers/QSPI.h"
// mbed Internal components
#include "drivers/ResetReason.h"
#include "drivers/Watchdog.h"
#include "drivers/Timer.h"
#include "drivers/Ticker.h"
#include "drivers/Timeout.h"