mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2026-08-18 21:53:59 +00:00
Do hardware detection on init for shell info (#2975)
and reset gpio state afterward
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user