applied formatting
This commit is contained in:
@ -1,9 +1,5 @@
|
||||
#include <bsp_q7s/spi/Q7sSpiComIF.h>
|
||||
|
||||
Q7sSpiComIF::Q7sSpiComIF(object_id_t objectId, GpioIF* gpioComIF) :
|
||||
SpiComIF(objectId, gpioComIF) {
|
||||
}
|
||||
|
||||
Q7sSpiComIF::~Q7sSpiComIF() {
|
||||
}
|
||||
Q7sSpiComIF::Q7sSpiComIF(object_id_t objectId, GpioIF* gpioComIF) : SpiComIF(objectId, gpioComIF) {}
|
||||
|
||||
Q7sSpiComIF::~Q7sSpiComIF() {}
|
||||
|
@ -3,7 +3,6 @@
|
||||
|
||||
#include <fsfw_hal/linux/spi/SpiComIF.h>
|
||||
|
||||
|
||||
/**
|
||||
* @brief This additional communication interface is required because the SPI busses behind the
|
||||
* devices "/dev/spi2.0" and "dev/spidev3.0" are multiplexed to one SPI interface.
|
||||
@ -17,17 +16,17 @@
|
||||
* the SPI interface. The multiplexing is performed via a GPIO connected to a VHDL
|
||||
* module responsible for switching between the to SPI peripherals.
|
||||
*/
|
||||
class Q7sSpiComIF: public SpiComIF {
|
||||
public:
|
||||
/**
|
||||
* @brief Constructor
|
||||
*
|
||||
* @param objectId
|
||||
* @param gpioComIF
|
||||
* @param gpioSwitchId The gpio ID of the GPIO connected to the SPI mux module in the PL.
|
||||
*/
|
||||
Q7sSpiComIF(object_id_t objectId, GpioIF* gpioComIF, gpioId_t gpioSwitchId);
|
||||
virtual ~Q7sSpiComIF();
|
||||
class Q7sSpiComIF : public SpiComIF {
|
||||
public:
|
||||
/**
|
||||
* @brief Constructor
|
||||
*
|
||||
* @param objectId
|
||||
* @param gpioComIF
|
||||
* @param gpioSwitchId The gpio ID of the GPIO connected to the SPI mux module in the PL.
|
||||
*/
|
||||
Q7sSpiComIF(object_id_t objectId, GpioIF* gpioComIF, gpioId_t gpioSwitchId);
|
||||
virtual ~Q7sSpiComIF();
|
||||
};
|
||||
|
||||
#endif /* BSP_Q7S_SPI_Q7SSPICOMIF_H_ */
|
||||
|
Reference in New Issue
Block a user