Skip to content

A Hardware Hacking Tool with Web-Based CLI That Speaks Every Protocol

display max gap in ms instead of us for the pin analyzer

Geo92199921f475
diff --git a/src/Managers/PinAnalyzeManager.cpp b/src/Managers/PinAnalyzeManager.cpp
index 5b02676e..5f591127 100644
--- a/src/Managers/PinAnalyzeManager.cpp
+++ b/src/Managers/PinAnalyzeManager.cpp
@@ -617,7 +617,7 @@ std::string PinAnalyzeManager::formatWizardReport(uint8_t pin, const Report& r)
if (r.bursts >= 2) {
line("It comes in bursts (" + std::to_string(r.bursts) +
- " bursts, max gap ~" + std::to_string(r.maxGapUs) + " us).");
+ " bursts, max gap ~" + std::to_string(r.maxGapUs / 1000.0) + " ms).");
}
if (r.minPulseUs != 0xFFFFFFFF) {