update license header

arm_rgb
Jack Humbert 6 years ago
parent 018b764e6d
commit 69147de462

@ -1,12 +1,21 @@
/*
* LEDDriver.h
*
* Created on: Aug 26, 2013
* Author: Omri Iluz
*/
Copyright (C) 2013 Omri Iluz
2018 Jack Humbert
#ifndef WS2812_H_
#define WS2812_H_
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.
*/
#pragma once
#include "hal.h"
#include "rgblight_types.h"
@ -33,5 +42,3 @@ void WS2812_init(void);
void WS2812_set_color( int index, uint8_t red, uint8_t green, uint8_t blue );
void WS2812_set_color_all( uint8_t red, uint8_t green, uint8_t blue );
void WS2812_send_colors(void);
#endif /* LEDDRIVER_H_ */

@ -20,8 +20,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef LIGHT_WS2812_H_
#define LIGHT_WS2812_H_
#pragma once
#include <avr/io.h>
#include <avr/interrupt.h>
@ -72,5 +71,3 @@ void ws2812_sendarray_mask(uint8_t *array,uint16_t length, uint8_t pinmask);
#ifndef CONCAT_EXP
#define CONCAT_EXP(a, b) CONCAT(a, b)
#endif
#endif /* LIGHT_WS2812_H_ */

Loading…
Cancel
Save