From af852aa6a93ab59afdd10ae19cc537da333ef117 Mon Sep 17 00:00:00 2001 From: Pat Hickey Date: Tue, 4 Dec 2012 18:41:23 -0800 Subject: [PATCH] AP_HAL_AVR: init dataflash from HAL init --- libraries/AP_HAL_AVR/HAL_AVR.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/libraries/AP_HAL_AVR/HAL_AVR.cpp b/libraries/AP_HAL_AVR/HAL_AVR.cpp index 21ecc4b99d..b6bebaf0f2 100644 --- a/libraries/AP_HAL_AVR/HAL_AVR.cpp +++ b/libraries/AP_HAL_AVR/HAL_AVR.cpp @@ -18,5 +18,6 @@ void HAL_AVR::init(void* opts) const { i2c->begin(); i2c->setTimeout(100); analogin->init(NULL); + dataflash->init(NULL); };