Skip to content

Commit 0b9c63d

Browse files
committed
chore(spi): remove virtual function specifier
Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
1 parent 8091319 commit 0b9c63d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

libraries/SPI/src/SPI.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -122,21 +122,21 @@ class SPIClass {
122122
_spi.pin_ssel = (ssel);
123123
};
124124

125-
virtual void begin(void);
125+
void begin(void);
126126
void end(void);
127127

128128
/* This function should be used to configure the SPI instance in case you
129129
* don't use default parameters.
130130
*/
131131
void beginTransaction(SPISettings settings);
132-
virtual void endTransaction(void);
132+
void endTransaction(void);
133133

134134
/* Transfer functions: must be called after initialization of the SPI
135135
* instance with begin() or beginTransaction().
136136
*/
137-
virtual uint8_t transfer(uint8_t data, bool skipReceive = SPI_TRANSMITRECEIVE);
138-
virtual uint16_t transfer16(uint16_t data, bool skipReceive = SPI_TRANSMITRECEIVE);
139-
virtual void transfer(void *buf, size_t count, bool skipReceive = SPI_TRANSMITRECEIVE);
137+
uint8_t transfer(uint8_t data, bool skipReceive = SPI_TRANSMITRECEIVE);
138+
uint16_t transfer16(uint16_t data, bool skipReceive = SPI_TRANSMITRECEIVE);
139+
void transfer(void *buf, size_t count, bool skipReceive = SPI_TRANSMITRECEIVE);
140140

141141
/* These methods are deprecated and kept for compatibility.
142142
* Use SPISettings with SPI.beginTransaction() to configure SPI parameters.

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy