Fixing some errors introduced with #107.

Namely:
 - I never added rtc to the makefile, so it wasn't getting compiled
 - I missed 2 includes that are needed once it's actually compiling
This commit is contained in:
Michael Aherne
2013-02-27 13:21:21 -08:00
parent dd75633245
commit 93f2b1ad5b
2 changed files with 3 additions and 0 deletions

View File

@@ -23,6 +23,8 @@
* along with this library. If not, see <http://www.gnu.org/licenses/>.
*/
#include <libopencm3/stm32/exti.h>
#include <libopencm3/stm32/f4/nvic.h>
#include <libopencm3/stm32/rtc.h>
#include <libopencm3/stm32/common/rtc_common_bcd.h>