Index: firmware/App/Controllers/Ejector.c =================================================================== diff -u -raa6d45143096dfab776ce2ed7c775cfe2dd6db18 -r959f16a2530e68b517cbb5c12c430d5aef4c5f9d --- firmware/App/Controllers/Ejector.c (.../Ejector.c) (revision aa6d45143096dfab776ce2ed7c775cfe2dd6db18) +++ firmware/App/Controllers/Ejector.c (.../Ejector.c) (revision 959f16a2530e68b517cbb5c12c430d5aef4c5f9d) @@ -73,9 +73,9 @@ /*********************************************************************//** * @brief - * The initEjector function initializes the air pump driver. + * The initEjector function initializes the ejector driver. * @details \b Inputs: none - * @details \b Outputs: Air pump driver unit initialized + * @details \b Outputs: Ejector driver unit initialized * @return none *************************************************************************/ void initEjector(void) @@ -365,10 +365,10 @@ * @brief * The publishEjectorData function constructs and sends the air pump data * broadcast message. - * @details \b Message \b Sent: MSG_ID_TD_AIR_PUMP_DATA - * @details \b Inputs: airPumpDataPublicationTimerCounter, currentEjectorState, + * @details \b Message \b Sent: MSG_ID_TD_EJECTOR_DATA + * @details \b Inputs: ejectorDataPublicationTimerCounter, currentEjectorState, * currentEjectorSetSpeed - * @details \b Outputs: airPumpDataPublicationTimerCounter + * @details \b Outputs: ejectorDataPublicationTimerCounter * @return none *************************************************************************/ static void publishEjectorData( void ) @@ -408,6 +408,16 @@ return result; } +/*********************************************************************//** + * @brief + * The testEjectorCommand function handles a test request to execute an + * ejector operation. + * @details \b Inputs: none + * @details \b Outputs: requested operation initiated + * @param message Ejector operation request message from Dialin which includes + * the requested ejector operation ID + * @return TRUE if request is successful, FALSE if not + *************************************************************************/ BOOL testEjectorCommand( MESSAGE_T *message ) { BOOL result = FALSE;