From 1b793da17f1ec69cec908e36fbcfb754ef0c976a Mon Sep 17 00:00:00 2001 From: Jared Boone Date: Fri, 5 Feb 2016 16:21:03 -0800 Subject: [PATCH] Expose I2C0 via portapack.hpp. --- firmware/application/portapack.cpp | 2 -- firmware/application/portapack.hpp | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/firmware/application/portapack.cpp b/firmware/application/portapack.cpp index 7b463cc8..9f8f9c4f 100644 --- a/firmware/application/portapack.cpp +++ b/firmware/application/portapack.cpp @@ -29,8 +29,6 @@ using namespace hackrf::one; #include "clock_manager.hpp" -#include "i2c_pp.hpp" - #include "touch_adc.hpp" #include "audio.hpp" diff --git a/firmware/application/portapack.hpp b/firmware/application/portapack.hpp index 886c4a43..bb8e0042 100644 --- a/firmware/application/portapack.hpp +++ b/firmware/application/portapack.hpp @@ -23,6 +23,7 @@ #include "receiver_model.hpp" +#include "i2c_pp.hpp" #include "spi_pp.hpp" #include "wm8731.hpp" #include "si5351.hpp" @@ -38,6 +39,7 @@ extern portapack::IO io; extern lcd::ILI9341 display; +extern I2C i2c0; extern SPI ssp0; extern SPI ssp1;