From e23a935ee853e54bdf36879b0a865a3071e6017e Mon Sep 17 00:00:00 2001
From: Larry Bank <bitbank@pobox.com>
Date: Wed, 20 Sep 2023 21:16:42 +0100
Subject: [PATCH] fixed license

---
 examples/color_lcd/ch32v_hal.h   | 23 ++++++++++-------------
 examples/color_lcd/ch32v_hal.inl | 23 ++++++++++-------------
 examples/color_lcd/color_lcd.c   | 17 ++++++++++++++++-
 3 files changed, 36 insertions(+), 27 deletions(-)

diff --git a/examples/color_lcd/ch32v_hal.h b/examples/color_lcd/ch32v_hal.h
index ffcdd56..e4bc365 100644
--- a/examples/color_lcd/ch32v_hal.h
+++ b/examples/color_lcd/ch32v_hal.h
@@ -2,20 +2,17 @@
 // CH32V Hardware Abstraction layer
 // written by Larry Bank
 // bitbank@pobox.com
-// Copyright (c) 2023 BitBank Software, Inc.
 //
-// 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 <http://www.gnu.org/licenses/>.
+// Copyright 2023 BitBank Software, Inc. All Rights Reserved.
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//    http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
 //
 #ifndef CH32V_HAL_H_
 #define CH32V_HAL_H_
diff --git a/examples/color_lcd/ch32v_hal.inl b/examples/color_lcd/ch32v_hal.inl
index ef27b17..ff58e27 100644
--- a/examples/color_lcd/ch32v_hal.inl
+++ b/examples/color_lcd/ch32v_hal.inl
@@ -2,20 +2,17 @@
 // CH32V Hardware Abstraction layer
 // written by Larry Bank
 // bitbank@pobox.com
-// Copyright (c) 2023 BitBank Software, Inc.
 //
-// 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 <http://www.gnu.org/licenses/>.
+// Copyright 2023 BitBank Software, Inc. All Rights Reserved.
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//    http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
 //
 #include "ch32v_hal.h"
 
diff --git a/examples/color_lcd/color_lcd.c b/examples/color_lcd/color_lcd.c
index fb35919..0856503 100644
--- a/examples/color_lcd/color_lcd.c
+++ b/examples/color_lcd/color_lcd.c
@@ -1,4 +1,19 @@
-
+//
+// color LCD demo
+// written by Larry Bank
+// bitbank@pobox.com
+//
+// Copyright 2023 BitBank Software, Inc. All Rights Reserved.
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//    http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
 #include "ch32v_hal.inl"
 #include "spi_lcd.inl" 
 #include <stdlib.h>
-- 
GitLab