From bced71eedcde740c5ce80361a4e489ba656864bb Mon Sep 17 00:00:00 2001 From: mikeller Date: Sun, 24 Dec 2017 09:06:37 +1300 Subject: [PATCH] config --- src/main/io/displayport_max7456.c | 2 +- src/main/target/OMNIBUSF4/config.c | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/main/io/displayport_max7456.c b/src/main/io/displayport_max7456.c index fa9b7b613..440da4acc 100644 --- a/src/main/io/displayport_max7456.c +++ b/src/main/io/displayport_max7456.c @@ -158,7 +158,7 @@ displayPort_t *max7456DisplayPortInit(const vcdProfile_t *vcdProfile) { displayInit(&max7456DisplayPort, &max7456VTable); #ifdef USE_OSD_SLAVE - max7456Init(vcdProfile, false); + max7456Init(max7456Config(), vcdProfile, false); #else max7456Init(max7456Config(), vcdProfile, systemConfig()->cpu_overclock); #endif diff --git a/src/main/target/OMNIBUSF4/config.c b/src/main/target/OMNIBUSF4/config.c index 63b7cebad..6880695b1 100644 --- a/src/main/target/OMNIBUSF4/config.c +++ b/src/main/target/OMNIBUSF4/config.c @@ -22,10 +22,11 @@ #ifdef USE_TARGET_CONFIG -#include "pg/pg.h" -#include "drivers/max7456.h" #include "io/serial.h" +#include "pg/max7456.h" +#include "pg/pg.h" + void targetConfiguration(void) { #ifdef OMNIBUSF4BASE -- 2.11.4.GIT