Skip to content

Commit dd6340e

Browse files
committed
[avr] Small comments and headers fixes in SPI
1 parent 059d68f commit dd6340e

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

avr/libraries/SPI/SPI.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
/*
22
* Copyright (c) 2010 by Cristian Maglie <[email protected]>
33
* Copyright (c) 2014 by Paul Stoffregen <[email protected]> (Transaction API)
4+
* Copyright (c) 2014 by Matthijs Kooijman <[email protected]> (SPISettings AVR)
45
* SPI Master library for arduino.
56
*
67
* This file is free software; you can redistribute it and/or modify

avr/libraries/SPI/SPI.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
// Uncomment this line to add detection of mismatched begin/end transactions.
2323
// A mismatch occurs if other libraries fail to use SPI.endTransaction() for
24-
// each SPI.beginTransaction(). Connect a LED to this pin. The LED will turn
24+
// each SPI.beginTransaction(). Connect an LED to this pin. The LED will turn
2525
// on if any mismatch is ever detected.
2626
//#define SPI_TRANSACTION_MISMATCH_LED 5
2727

@@ -147,7 +147,7 @@ class SPIClass {
147147
// Initialize the SPI library
148148
static void begin();
149149

150-
// If SPI is to used from within an interrupt, this function registers
150+
// If SPI is used from within an interrupt, this function registers
151151
// that interrupt with the SPI library, so beginTransaction() can
152152
// prevent conflicts. The input interruptNumber is the number used
153153
// with attachInterrupt. If SPI is used from a different interrupt

0 commit comments

Comments
 (0)