Skip to content

Commit c68ed91

Browse files
committed
remove un-needed argument to a zeroMsgPayload call.
1 parent b9fb48e commit c68ed91

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/fswAlgorithms/attControl/mtbMomentumManagementSimple/mtbMomentumManagementSimple.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ void Update_mtbMomentumManagementSimple(mtbMomentumManagementSimpleConfig *confi
9999
* Read the input message and initialize output message.
100100
*/
101101
RWSpeedMsgPayload rwSpeedsInMsgBuffer = RWSpeedMsg_C_read(&configData->rwSpeedsInMsg);
102-
CmdTorqueBodyMsgPayload tauMtbRequestOutMsgBuffer = CmdTorqueBodyMsg_C_zeroMsgPayload(&configData->tauMtbRequestOutMsg);
102+
CmdTorqueBodyMsgPayload tauMtbRequestOutMsgBuffer = CmdTorqueBodyMsg_C_zeroMsgPayload();
103103

104104
/*! - Compute wheel momentum in Body frame components by calculating it first in the wheel frame and then
105105
transforming it from the wheel space into the body frame using Gs.*/

src/fswAlgorithms/effectorInterfaces/dipoleMapping/dipoleMapping.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ void Update_dipoleMapping(dipoleMappingConfig *configData, uint64_t callTime, in
8080
* Read the input messages and initialize output message.
8181
*/
8282
DipoleRequestBodyMsgPayload dipoleRequestBodyInMsgBuffer = DipoleRequestBodyMsg_C_read(&configData->dipoleRequestBodyInMsg);
83-
MTBCmdMsgPayload dipoleRequestMtbOutMsgBuffer = MTBCmdMsg_C_zeroMsgPayload(&configData->dipoleRequestMtbOutMsg);
83+
MTBCmdMsgPayload dipoleRequestMtbOutMsgBuffer = MTBCmdMsg_C_zeroMsgPayload();
8484

8585
/*! - Map the requested Body frame dipole request to individual torque rod dipoles.*/
8686
mMultV(configData->steeringMatrix, configData->mtbArrayConfigParams.numMTB, 3, dipoleRequestBodyInMsgBuffer.dipole_B, dipoleRequestMtbOutMsgBuffer.mtbDipoleCmds);

0 commit comments

Comments
 (0)