meier/firmwareChanges #82
@ -66,6 +66,7 @@ void SusHandler::doStartUp(){
|
|||||||
#else
|
#else
|
||||||
setMode(_MODE_TO_ON);
|
setMode(_MODE_TO_ON);
|
||||||
#endif
|
#endif
|
||||||
|
setMode(_MODE_POWER_DOWN);
|
||||||
}
|
}
|
||||||
|
|
||||||
void SusHandler::doShutDown(){
|
void SusHandler::doShutDown(){
|
||||||
|
@ -32,7 +32,7 @@ void GPSHyperionHandler::doStartUp() {
|
|||||||
void GPSHyperionHandler::doShutDown() {
|
void GPSHyperionHandler::doShutDown() {
|
||||||
internalState = InternalStates::NONE;
|
internalState = InternalStates::NONE;
|
||||||
commandExecuted = false;
|
commandExecuted = false;
|
||||||
setMode(MODE_OFF);
|
setMode(_MODE_POWER_DOWN);
|
||||||
}
|
}
|
||||||
|
|
||||||
ReturnValue_t GPSHyperionHandler::buildTransitionDeviceCommand(DeviceCommandId_t *id) {
|
ReturnValue_t GPSHyperionHandler::buildTransitionDeviceCommand(DeviceCommandId_t *id) {
|
||||||
|
@ -57,6 +57,7 @@ void GyroADIS16507Handler::doStartUp() {
|
|||||||
|
|
||||||
void GyroADIS16507Handler::doShutDown() {
|
void GyroADIS16507Handler::doShutDown() {
|
||||||
commandExecuted = false;
|
commandExecuted = false;
|
||||||
|
setMode(_MODE_POWER_DOWN);
|
||||||
}
|
}
|
||||||
|
|
||||||
ReturnValue_t GyroADIS16507Handler::buildNormalDeviceCommand(DeviceCommandId_t *id) {
|
ReturnValue_t GyroADIS16507Handler::buildNormalDeviceCommand(DeviceCommandId_t *id) {
|
||||||
|
@ -27,7 +27,7 @@ void IMTQHandler::doStartUp() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void IMTQHandler::doShutDown() {
|
void IMTQHandler::doShutDown() {
|
||||||
|
setMode(_MODE_POWER_DOWN);
|
||||||
}
|
}
|
||||||
|
|
||||||
ReturnValue_t IMTQHandler::buildNormalDeviceCommand(DeviceCommandId_t * id) {
|
ReturnValue_t IMTQHandler::buildNormalDeviceCommand(DeviceCommandId_t * id) {
|
||||||
|
@ -78,7 +78,7 @@ void Max31865PT1000Handler::doStartUp() {
|
|||||||
|
|
||||||
void Max31865PT1000Handler::doShutDown() {
|
void Max31865PT1000Handler::doShutDown() {
|
||||||
commandExecuted = false;
|
commandExecuted = false;
|
||||||
setMode(MODE_OFF);
|
setMode(_MODE_POWER_DOWN);
|
||||||
}
|
}
|
||||||
|
|
||||||
ReturnValue_t Max31865PT1000Handler::buildNormalDeviceCommand(
|
ReturnValue_t Max31865PT1000Handler::buildNormalDeviceCommand(
|
||||||
|
@ -22,7 +22,7 @@ void PlocMPSoCHandler::doStartUp(){
|
|||||||
}
|
}
|
||||||
|
|
||||||
void PlocMPSoCHandler::doShutDown(){
|
void PlocMPSoCHandler::doShutDown(){
|
||||||
|
setMode(_MODE_POWER_DOWN);
|
||||||
}
|
}
|
||||||
|
|
||||||
ReturnValue_t PlocMPSoCHandler::buildNormalDeviceCommand(
|
ReturnValue_t PlocMPSoCHandler::buildNormalDeviceCommand(
|
||||||
|
@ -49,7 +49,7 @@ void PlocSupervisorHandler::doStartUp(){
|
|||||||
}
|
}
|
||||||
|
|
||||||
void PlocSupervisorHandler::doShutDown(){
|
void PlocSupervisorHandler::doShutDown(){
|
||||||
|
setMode(_MODE_POWER_DOWN);
|
||||||
}
|
}
|
||||||
|
|
||||||
ReturnValue_t PlocSupervisorHandler::buildNormalDeviceCommand(
|
ReturnValue_t PlocSupervisorHandler::buildNormalDeviceCommand(
|
||||||
|
@ -38,6 +38,7 @@ void RwHandler::doShutDown() {
|
|||||||
if(gpioComIF->pullLow(enableGpio) != RETURN_OK) {
|
if(gpioComIF->pullLow(enableGpio) != RETURN_OK) {
|
||||||
sif::debug << "RwHandler::doStartUp: Failed to pull enable gpio to low";
|
sif::debug << "RwHandler::doStartUp: Failed to pull enable gpio to low";
|
||||||
}
|
}
|
||||||
|
setMode(_MODE_POWER_DOWN);
|
||||||
}
|
}
|
||||||
|
|
||||||
ReturnValue_t RwHandler::buildNormalDeviceCommand(DeviceCommandId_t * id) {
|
ReturnValue_t RwHandler::buildNormalDeviceCommand(DeviceCommandId_t * id) {
|
||||||
|
@ -28,10 +28,10 @@ void StarTrackerHandler::doStartUp() {
|
|||||||
#else
|
#else
|
||||||
setMode(_MODE_TO_ON);
|
setMode(_MODE_TO_ON);
|
||||||
#endif
|
#endif
|
||||||
setMode(_MODE_POWER_DOWN);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void StarTrackerHandler::doShutDown() {
|
void StarTrackerHandler::doShutDown() {
|
||||||
|
setMode(_MODE_POWER_DOWN);
|
||||||
}
|
}
|
||||||
|
|
||||||
ReturnValue_t StarTrackerHandler::buildNormalDeviceCommand(DeviceCommandId_t * id) {
|
ReturnValue_t StarTrackerHandler::buildNormalDeviceCommand(DeviceCommandId_t * id) {
|
||||||
|
@ -23,7 +23,7 @@ void SyrlinksHkHandler::doStartUp(){
|
|||||||
}
|
}
|
||||||
|
|
||||||
void SyrlinksHkHandler::doShutDown(){
|
void SyrlinksHkHandler::doShutDown(){
|
||||||
|
setMode(_MODE_POWER_DOWN);
|
||||||
}
|
}
|
||||||
|
|
||||||
ReturnValue_t SyrlinksHkHandler::buildNormalDeviceCommand(
|
ReturnValue_t SyrlinksHkHandler::buildNormalDeviceCommand(
|
||||||
|
@ -22,7 +22,7 @@ void Tmp1075Handler::doStartUp(){
|
|||||||
}
|
}
|
||||||
|
|
||||||
void Tmp1075Handler::doShutDown(){
|
void Tmp1075Handler::doShutDown(){
|
||||||
|
setMode(_MODE_POWER_DOWN);
|
||||||
}
|
}
|
||||||
|
|
||||||
ReturnValue_t Tmp1075Handler::buildNormalDeviceCommand(
|
ReturnValue_t Tmp1075Handler::buildNormalDeviceCommand(
|
||||||
|
Loading…
Reference in New Issue
Block a user