add PM3_REASON_UNKNOWN

This commit is contained in:
douniwan5788 committed 2024-10-04 23:25:15 +08:00
1 parent cd4c2834a6
commit 9a50e608e0
3 files changed
+7 -4

No files matched your search

+2
View File
@@ -874,6 +874,8 @@ typedef struct {
// reserved for future protocol change
#define PM3_RESERVED -128
#define PM3_REASON_UNKNOWN -1
// LF
#define LF_FREQ2DIV(f) ((int)(((12000.0 + (f)/2.0)/(f))-1))
#define LF_DIVISOR_125 LF_FREQ2DIV(125)