mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2026-10-23 17:23:23 +00:00
data scale: use cliparser and add unit string
This commit is contained in:
1 parent
7009f2ade7
commit
2d15fde0a8
4 files changed
+25
-18
No files matched your search
@@ -596,10 +596,11 @@ void Plot::paintEvent(QPaintEvent *event) {
|
||||
|
||||
//Draw annotations
|
||||
char str[200];
|
||||
sprintf(str, "@%u dt=%u [%2.2f] zoom=%2.2f CursorAPos=%u CursorBPos=%u GridX=%d GridY=%d (%s) GridXoffset=%d",
|
||||
sprintf(str, "@%u dt=%i [%2.2f %s] zoom=%2.2f CursorAPos=%u CursorBPos=%u GridX=%d GridY=%d (%s) GridXoffset=%d",
|
||||
GraphStart,
|
||||
CursorBPos - CursorAPos,
|
||||
((int32_t)(CursorBPos - CursorAPos)) / CursorScaleFactor,
|
||||
CursorScaleFactorUint,
|
||||
GraphPixelsPerPoint,
|
||||
CursorAPos,
|
||||
CursorBPos,
|
||||
|
||||
Reference in new issue
Block a user