mirror of
https://github.com/nasa/fprime.git
synced 2025-12-11 04:35:25 -06:00
26 lines
958 B
C++
26 lines
958 B
C++
// ======================================================================
|
|
// \title LinuxSpiDriverImpl.cpp
|
|
// \author tcanham
|
|
// \brief cpp file for LinuxSpiDriver component implementation class
|
|
//
|
|
// \copyright
|
|
// Copyright 2009-2015, by the California Institute of Technology.
|
|
// ALL RIGHTS RESERVED. United States Government Sponsorship
|
|
// acknowledged.
|
|
//
|
|
// ======================================================================
|
|
|
|
#include <Drv/LinuxSpiDriver/LinuxSpiDriverComponentImpl.hpp>
|
|
#include <Fw/FPrimeBasicTypes.hpp>
|
|
|
|
namespace Drv {
|
|
|
|
// ----------------------------------------------------------------------
|
|
// Construction, initialization, and destruction
|
|
// ----------------------------------------------------------------------
|
|
|
|
LinuxSpiDriverComponentImpl::LinuxSpiDriverComponentImpl(const char* const compName)
|
|
: LinuxSpiDriverComponentBase(compName), m_fd(-1), m_device(-1), m_select(-1), m_bytes(0) {}
|
|
|
|
} // end namespace Drv
|