Skip to content

Commit fed846e

Browse files
committed
zephyrSerial: Add SPDX Tags and remove unneded includes
This adds SPDX Tags previously not there and also removes headers that are not really necessary. Signed-off-by: Dhruva Gole <[email protected]>
1 parent 7b6d236 commit fed846e

File tree

2 files changed

+12
-3
lines changed

2 files changed

+12
-3
lines changed

cores/arduino/zephyrSerial.cpp

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
1+
/*
2+
* Copyright (c) 2022 Dhruva Gole
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
17
#include <zephyrSerial.h>
2-
#include <Arduino.h>
3-
#include <zephyr/sys/printk.h>
48

59
size_t arduino::ZephyrSerial::begin(unsigned long int baudrate){
610
return 0;

cores/arduino/zephyrSerial.h

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
1+
/*
2+
* Copyright (c) 2022 Dhruva Gole
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
17
#pragma once
28

39
#include <Arduino.h>
4-
#include <api/Print.h>
510

611
namespace arduino {
712

0 commit comments

Comments
 (0)