Skip to content

Commit 4eca7fb

Browse files
committed
Renaming library to Arduino_ThreadsafeIO and ensure compileability for all examples.
1 parent c210f28 commit 4eca7fb

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

examples/ts_spi/ts_spi.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* INCLUDE
33
**************************************************************************************/
44

5-
#include <ThreadsafeIO.h>
5+
#include <Arduino_ThreadsafeIO.h>
66

77
/**************************************************************************************
88
* CONSTANTS

examples/ts_wire/ts_wire.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* INCLUDE
33
**************************************************************************************/
44

5-
#include <ThreadsafeIO.h>
5+
#include <Arduino_ThreadsafeIO.h>
66

77
/**************************************************************************************
88
* CONSTANTS

keywords.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#######################################
2-
# Syntax Coloring Map for ThreadsafeIO
2+
# Syntax Coloring Map for Arduino_ThreadsafeIO
33
#######################################
44

55
#######################################

library.properties

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
name=ThreadsafeIO
1+
name=Arduino_ThreadsafeIO
22
version=0.0.1
33
author=Alexander Entinger <a.entinger@arduino.cc>
44
maintainer=Arduino <info@arduino.cc>
55
sentence=Enable threadsafe peripheral access via pipes.
66
paragraph=
77
category=Communication
88
url=
9-
architectures=mbed
10-
include=ThreadsafeIO.h
9+
architectures=mbed,mbed_portenta,mbed_nano
10+
include=Arduino_ThreadsafeIO.h

src/ThreadsafeIO.h renamed to src/Arduino_ThreadsafeIO.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
* A deeply magical library providing threadsafe IO via pipes.
33
*/
44

5-
#ifndef THREADSAFE_IO_H_
6-
#define THREADSAFE_IO_H_
5+
#ifndef ARDUINO_THREADSAFE_IO_H_
6+
#define ARDUINO_THREADSAFE_IO_H_
77

88
/**************************************************************************************
99
* INCLUDE
@@ -12,4 +12,4 @@
1212
#include "spi/SpiBusDevice.h"
1313
#include "wire/WireBusDevice.h"
1414

15-
#endif /* THREADSAFE_IO_H_ */
15+
#endif /* ARDUINO_THREADSAFE_IO_H_ */

0 commit comments

Comments
 (0)