add PM3_REASON_UNKNOWN

This commit is contained in:
douniwan5788 2024-10-04 23:23:35 +08:00
commit 9a50e608e0
3 changed files with 7 additions and 4 deletions

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)