mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-06-01 04:46:51 +08:00
cleanup trailing whitespaces
This commit is contained in:
@@ -100,7 +100,7 @@ enum SPIStatus {
|
|||||||
|
|
||||||
enum SPIBitOrder {
|
enum SPIBitOrder {
|
||||||
SPIMSBFirst,
|
SPIMSBFirst,
|
||||||
SPILSBFirst
|
SPILSBFirst
|
||||||
};
|
};
|
||||||
|
|
||||||
enum SPIClockDiv {
|
enum SPIClockDiv {
|
||||||
@@ -120,7 +120,7 @@ enum SPIClockDiv {
|
|||||||
*/
|
*/
|
||||||
struct spi_transaction;
|
struct spi_transaction;
|
||||||
typedef void (*SPICallback)( struct spi_transaction *trans );
|
typedef void (*SPICallback)( struct spi_transaction *trans );
|
||||||
|
|
||||||
/** SPI transaction structure.
|
/** SPI transaction structure.
|
||||||
* - Use this structure to store a request of SPI transaction
|
* - Use this structure to store a request of SPI transaction
|
||||||
* and submit it using spi_submit function
|
* and submit it using spi_submit function
|
||||||
|
|||||||
@@ -307,7 +307,7 @@ static void configure_socket( uint8_t _s, uint8_t _flag, uint16_t _lport, uint16
|
|||||||
// configure destination port
|
// configure destination port
|
||||||
w5100_sock_set( _s, SOCK_DPORT, _dport >> 8 );
|
w5100_sock_set( _s, SOCK_DPORT, _dport >> 8 );
|
||||||
w5100_sock_set( _s, SOCK_DPORT+1, _dport & 0xFF );
|
w5100_sock_set( _s, SOCK_DPORT+1, _dport & 0xFF );
|
||||||
|
|
||||||
// send command to open the socket
|
// send command to open the socket
|
||||||
w5100_sock_set( _s, SOCK_CR, SOCK_OPEN );
|
w5100_sock_set( _s, SOCK_CR, SOCK_OPEN );
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user