ソースを参照

Minor cleanup

Streetwalrus Einstein 10 年 前
コミット
9d70ec3c72
共有4 個のファイルを変更した0 個の追加12 個の削除を含む
  1. 0 1
      include/graphics.h
  2. 0 5
      include/main.h
  3. 0 5
      src/graphics.c
  4. 0 1
      src/main.c

+ 0 - 1
include/graphics.h

@@ -14,7 +14,6 @@ struct Rect
 void buffer_allocate();
 void buffer_free();
 void buffer_swap();
-void buffer_copy();
 void buffer_fill(unsigned color);
 
 

+ 0 - 5
include/main.h

@@ -1,5 +0,0 @@
-#ifndef SRC_MAIN_H
-#define SRC_MAIN_H
-
-#endif
-

+ 0 - 5
src/graphics.c

@@ -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;

+ 0 - 1
src/main.c

@@ -2,7 +2,6 @@
 #include <timers.h>
 #include <graphics.h>
 #include <map.h>
-#include <main.h>
 
 int main(int argc, char *argv[])
 {