PhycialDisplay: tidy

This commit is contained in:
李通洲
2023-08-09 10:32:35 +08:00
parent 1d1ce83567
commit abae204ab8
6 changed files with 12 additions and 12 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
#include "edidHelper.h"
void ffEdidGetPhycialDisplay(const uint8_t edid[128], uint32_t* width, uint32_t* height)
void ffEdidGetPhycialResolution(const uint8_t edid[128], uint32_t* width, uint32_t* height)
{
const int dtd = 54;
*width = (((uint32_t) edid[dtd + 4] >> 4) << 8) | edid[dtd + 2];
+1 -1
View File
@@ -6,7 +6,7 @@
#include <stdint.h>
#include "util/FFstrbuf.h"
void ffEdidGetPhycialDisplay(const uint8_t edid[128], uint32_t* width, uint32_t* height);
void ffEdidGetName(const uint8_t edid[128], FFstrbuf* name);
void ffEdidGetPhycialResolution(const uint8_t edid[128], uint32_t* width, uint32_t* height);
#endif