Serial debug messages added for received UDP packages

This commit is contained in:
Ollo
2023-05-03 22:05:05 +02:00
parent 21045b1bee
commit 21d430311d
4 changed files with 41 additions and 11 deletions

View File

@@ -10,6 +10,8 @@
#define IMAGE_WIDTH (PANEL_WIDTH * MAXIMUM_PANELSIZE)
#define IMAGE_HEIGHT PANEL_HEIGHT
#define IMAGE_BUFFER (IMAGE_WIDTH * IMAGE_HEIGHT)
class Image
{
public:
@@ -21,7 +23,7 @@ class Image
private:
bool check_bounds(int x, int y);
uint8_t data[IMAGE_WIDTH * IMAGE_HEIGHT];
uint8_t data[IMAGE_BUFFER];
};