@@ -14,7 +14,6 @@ struct Rect
void buffer_allocate();
void buffer_free();
void buffer_swap();
-void buffer_copy();
void buffer_fill(unsigned color);
@@ -1,5 +0,0 @@
-#ifndef SRC_MAIN_H
-#define SRC_MAIN_H
-
-#endif
@@ -55,11 +55,6 @@ void buffer_swap()
*lcd_base = (unsigned) buffer_front;
}
-void buffer_copy()
-{
- memcpy(buffer_front, buffer_back, BUFFER_SIZE);
-}
void buffer_fill(unsigned color)
{
unsigned *buffer_back_32 = (unsigned *) buffer_back;
@@ -2,7 +2,6 @@
#include <timers.h>
#include <graphics.h>
#include <map.h>
-#include <main.h>
int main(int argc, char *argv[])