disable most of the debug output
This commit is contained in:
@@ -16,12 +16,8 @@
|
||||
#include "bas_printf.h"
|
||||
#include "bas_string.h"
|
||||
|
||||
#define DBG_MODES
|
||||
#ifdef DBG_MODES
|
||||
#define dbg(format, arg...) do { xprintf("DEBUG: " format, __FUNCTION__, ##arg); } while (0)
|
||||
#else
|
||||
#define dbg(format, arg...) do { ; } while (0)
|
||||
#endif /* DBG_MODES */
|
||||
// #define DEBUG
|
||||
#include "debug.h"
|
||||
|
||||
#define name_matches(v, s, l) \
|
||||
((v).name && !strncmp((s), (v).name, (l)) && strlen((v).name) == (l))
|
||||
@@ -29,8 +25,8 @@
|
||||
((v).xres == (x) && (v).yres == (y))
|
||||
|
||||
/*
|
||||
* Standard video mode definitions (taken from XFree86)
|
||||
*/
|
||||
* Standard video mode definitions (taken from XFree86)
|
||||
*/
|
||||
|
||||
#define DEFAULT_MODEDB_INDEX 0
|
||||
|
||||
|
||||
@@ -286,12 +286,12 @@ int16_t ignore_edid;
|
||||
|
||||
struct mode_option resolution =
|
||||
{
|
||||
.used = 0,
|
||||
.used = 1,
|
||||
.width = 640,
|
||||
.height = 480,
|
||||
.bpp = 8,
|
||||
.freq = 60,
|
||||
.flags = 0
|
||||
.flags = MODE_VESA_FLAG
|
||||
};
|
||||
int16_t force_measure_pll;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user