Added bigError()

This commit is contained in:
2024-08-13 15:13:17 +02:00
parent be6b65863f
commit f8e03d9024
5 changed files with 78 additions and 10 deletions
+1
View File
@@ -36,6 +36,7 @@ uint8_t loadFile(inode_t* inode, void* dest) {
if (totalBlocks > 0) {
// TODO: Indirect extents
return 1;
}
return 0;
-1
View File
@@ -26,7 +26,6 @@ void drawLine(int32_t x1, int32_t y1, int32_t x2, int32_t y2, uint32_t color) {
int8_t sx = (x1 < x2) ? 1 : -1;
int8_t sy = (y1 < y2) ? 1 : -1;
int16_t err = dx + dy;
// TODO: Sometimes the condition isn't met for some reason and it breaks everything
while (!(x1 == x2 && y1 == y2)) {