Do hardware detection on init for shell info (#2975)

and reset gpio state afterward
This commit is contained in:
E.T.
2026-02-09 21:49:16 +01:00
committed by GitHub
parent be872003ec
commit cd30022b61
2 changed files with 9 additions and 1 deletions
-1
View File
@@ -131,7 +131,6 @@ static void cmd_info(BaseSequentialStream* chp, int argc, char* argv[]) {
chprintf(chp, "Mayhem Version: %s\r\n", VERSION_STRING);
#endif
detect_hardware_platform();
board_rev_t revision = detected_revision();
const char* revision_string = get_board_revision_string(revision);
chprintf(chp, "HackRF Board Rev: %s\r\n", revision_string);