aboutsummaryrefslogtreecommitdiffstats
path: root/src/display_draw.c
diff options
context:
space:
mode:
authorClyne Sullivan <tullivan99@gmail.com>2018-03-25 21:16:33 -0400
committerClyne Sullivan <tullivan99@gmail.com>2018-03-25 21:16:33 -0400
commit603d04992cbf6c02cfc16f06ffab7d014d817634 (patch)
treebb31f0fe50f322c44a6d637b55cc02583b5b08d2 /src/display_draw.c
parent5c5c93db40c6412fb46a09383640db01b4c6db4e (diff)
added licensing
Diffstat (limited to 'src/display_draw.c')
-rw-r--r--src/display_draw.c21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/display_draw.c b/src/display_draw.c
index f58dda7..269f76c 100644
--- a/src/display_draw.c
+++ b/src/display_draw.c
@@ -1,3 +1,23 @@
+/**
+ * @file display_draw.c
+ * Provides functions for drawing to the display
+ *
+ * Copyright (C) 2018 Clyne Sullivan
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <https://www.gnu.org/licenses/>.
+ */
+
#include <display_draw.h>
#include <display.h>
#include <task.h>
@@ -41,6 +61,7 @@ void dsp_putchar(int c)
dsp_rect(0, 0, LCD_WIDTH, LCD_HEIGHT, 0);
cury = 0;
}
+ UNLOCK;
return;
} else if (c == '\b') {
if (curx > 0)