fix: make router socket non-blocking to prevent poll loop stalls
Validate and Test / validate-patches (push) Failing after 13s

This commit is contained in:
2026-06-24 04:45:15 -07:00
parent 31bd1d497c
commit f70a8701c9
46 changed files with 47584 additions and 1 deletions
+40
View File
@@ -0,0 +1,40 @@
/*
This file is part of the ArduinoGraphics library.
Copyright (c) 2025 Arduino SA. All rights reserved.
*/
#ifndef _IMAGE_H
#define _IMAGE_H
#include <stdint.h>
enum {
ENCODING_NONE = -1,
ENCODING_RGB,
ENCODING_RGB24,
ENCODING_RGB16
};
class Image {
public:
Image();
Image(int encoding, const uint8_t* data, int width, int height);
Image(int encoding, const uint16_t* data, int width, int height);
Image(int encoding, const uint32_t* data, int width, int height);
virtual ~Image();
int encoding() const;
const uint8_t* data() const;
int width() const;
int height() const;
virtual operator bool() const;
private:
int _encoding;
const uint8_t* _data;
int _width;
int _height;
};
#endif