You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Where would I put this in the telecommand defs.c? I don't think I should put this in the eps section because I don't think I need whatever external eps module to run this. I could be wrong.
EPS telecommands file is probably fine. You'll also want to create a new function called something like EPS_read_vbat_with_adc, which could go in its own new file in the eps folder.
I'm going to put the helper function of this telecommand in the eps_commands.h header file. I don't know if that's the best place to put it because I am just using Hal ADC functions and not really getting anything straight from the EPS. However, this function will only be used for the eps so that's why I'm putting it in there.
Seems fine to me! Viable options are either in the EPS folder (maybe in a new file), or in the STM32 folder (e.g., where the "reset reason" files are). Not too concerned about where it goes though!
The text was updated successfully, but these errors were encountered: