Browse Source

Add fblib_cleanup function

Godzil 8 years ago
parent
commit
23e783694e
1 changed files with 6 additions and 0 deletions
  1. 6 0
      bashfblib.sh

+ 6 - 0
bashfblib.sh

@@ -63,3 +63,9 @@ drawpixel()
 
 	dd if=${TEMP} of=${SCREEN_FB} bs=1 seek=${skip} count=${BYTE_PER_PIXEL} 2&> /dev/null
 }
+
+fblib_cleanup()
+{
+	rm ${TEMP}
+}
+}