This commit is contained in:
mikeller 2017-12-24 09:06:37 +13:00
parent 200167aaf7
commit bced71eedc
2 changed files with 4 additions and 3 deletions

View File

@ -158,7 +158,7 @@ displayPort_t *max7456DisplayPortInit(const vcdProfile_t *vcdProfile)
{ {
displayInit(&max7456DisplayPort, &max7456VTable); displayInit(&max7456DisplayPort, &max7456VTable);
#ifdef USE_OSD_SLAVE #ifdef USE_OSD_SLAVE
max7456Init(vcdProfile, false); max7456Init(max7456Config(), vcdProfile, false);
#else #else
max7456Init(max7456Config(), vcdProfile, systemConfig()->cpu_overclock); max7456Init(max7456Config(), vcdProfile, systemConfig()->cpu_overclock);
#endif #endif

View File

@ -22,10 +22,11 @@
#ifdef USE_TARGET_CONFIG #ifdef USE_TARGET_CONFIG
#include "pg/pg.h"
#include "drivers/max7456.h"
#include "io/serial.h" #include "io/serial.h"
#include "pg/max7456.h"
#include "pg/pg.h"
void targetConfiguration(void) void targetConfiguration(void)
{ {
#ifdef OMNIBUSF4BASE #ifdef OMNIBUSF4BASE