Only use USE_PROPERTY_INTERFACE_FOR_FB on Pi3

pull/102/head
IanSB 2019-04-28 17:56:51 +01:00
rodzic ec3e561c12
commit 9ce67b0418
1 zmienionych plików z 9 dodań i 9 usunięć

Wyświetl plik

@ -8,15 +8,6 @@
#define MAX_PIXEL_CLOCK 165.0 // 165MHz
#define MAX_PIXEL_CLOCK_260 260.0 // 260MHz
// Define how the Pi Framebuffer is initialized
// - if defined, use the property interface (Channel 8)
// - if not defined, use to the the framebuffer interface (Channel 1)
//
// Note: there seem to be some weird caching issues with the property interface
// so using the dedicated framebuffer interface is preferred.
#define USE_PROPERTY_INTERFACE_FOR_FB
// Enable multiple buffering and vsync based page flipping
#define MULTI_BUFFER
@ -107,6 +98,15 @@
// Indicate the platform has multiple cores
#define HAS_MULTICORE
// Define how the Pi Framebuffer is initialized
// - if defined, use the property interface (Channel 8)
// - if not defined, use to the the framebuffer interface (Channel 1)
//
// Note: there seem to be some weird caching issues with the property interface
// so using the dedicated framebuffer interface is preferred.
// but that doesn't work on the Pi3
#define USE_PROPERTY_INTERFACE_FOR_FB
#endif
#ifdef __ASSEMBLER__