- lib/hardware: align to latest changes in libstb-hal repo

Signed-off-by: Thilo Graf <dbt@novatux.de>

include: fix build after libstb-hal changes
This commit is contained in:
svenhoefer
2018-12-23 22:35:01 +01:00
committed by Thilo Graf
parent 9a807b7741
commit 65523a385d
2 changed files with 2 additions and 2 deletions

View File

@@ -2,7 +2,7 @@
#include <cs_api.h> #include <cs_api.h>
#include <video_cs.h> #include <video_cs.h>
#elif USE_STB_HAL #elif USE_STB_HAL
#include <init_td.h> #include <init.h>
#include <video_hal.h> #include <video_hal.h>
#else #else
#error neither HAVE_COOL_HARDWARE nor USE_STB_HAL defined. #error neither HAVE_COOL_HARDWARE nor USE_STB_HAL defined.

View File

@@ -236,7 +236,7 @@ CNeutrinoApp::CNeutrinoApp()
standby_pressed_at.tv_sec = 0; standby_pressed_at.tv_sec = 0;
#if HAVE_TRIPLEDRAGON || USE_STB_HAL #if HAVE_TRIPLEDRAGON || USE_STB_HAL
/* this needs to happen before the framebuffer is set up */ /* this needs to happen before the framebuffer is set up */
init_td_api(); hal_api_init();
// shutdown_td_api(); // shutdown_td_api();
#endif #endif
osd_resolution_tmp = -1; osd_resolution_tmp = -1;