Import teletext.h from lib_ccx.h for function definitions that are used from general_loop

This commit is contained in:
Carlos Fernandez 2017-12-07 12:34:15 -08:00
parent 04ea39073b
commit 33c4c5a021
3 changed files with 3 additions and 2 deletions

View File

@ -19,6 +19,7 @@
#include "networking.h"
#include "avc_functions.h"
#include "teletext.h"
#ifdef WITH_LIBCURL
#include <curl/curl.h>

View File

@ -7,6 +7,8 @@
//#include <inttypes.h>
#define MAX_TLT_PAGES 1000
typedef struct {
uint64_t show_timestamp; // show at timestamp (in ms)
uint64_t hide_timestamp; // hide at timestamp (in ms)

View File

@ -56,8 +56,6 @@ static const char* TTXT_COLOURS[8] = {
"#000000", "#ff0000", "#00ff00", "#ffff00", "#0000ff", "#ff00ff", "#00ffff", "#ffffff"
};
#define MAX_TLT_PAGES 1000
// 1-byte alignment; just to be sure, this struct is being used for explicit type conversion
// FIXME: remove explicit type conversion from buffer to structs