refactoring

This commit is contained in:
2024-03-18 20:50:10 +01:00
parent 326d0f66b0
commit a68f74559f
4 changed files with 17 additions and 9 deletions

View File

@ -3,9 +3,10 @@
#include <stdint.h>
// Definition of CANVAS_WIDTH and CANVAS_HEIGHT
// imported from rgb-driver
#include "../rgb-driver/canvasSize.h"
#define CANVAS_WIDTH 10
#define CANVAS_HEIGHT 11
typedef struct {
const uint8_t width;
@ -23,6 +24,4 @@ uint8_t canvasIsPixelFree(uint8_t column, uint8_t row);
void canvasWipeRow(uint8_t row);
uint8_t canvasIsRowFilled(uint8_t row);
extern const canvas_t canvas;
#endif // _CANVAS_H_