SDM_Energy_Meter icon indicating copy to clipboard operation
SDM_Energy_Meter copied to clipboard

SDM_MAX_DELAY too short

Open geronet1 opened this issue 1 year ago • 0 comments

`#if !defined ( WAITING_TURNAROUND_DELAY ) #define WAITING_TURNAROUND_DELAY 500 // time in ms to wait for process current request #endif

#if !defined ( RESPONSE_TIMEOUT ) #define RESPONSE_TIMEOUT 10 // time in ms to wait for return response from all devices before next request #endif

#if !defined ( SDM_MIN_DELAY ) #define SDM_MIN_DELAY 1 // minimum value (in ms) for WAITING_TURNAROUND_DELAY and RESPONSE_TIMEOUT #endif

#if !defined ( SDM_MAX_DELAY ) #define SDM_MAX_DELAY 20 // maximum value (in ms) for WAITING_TURNAROUND_DELAY and RESPONSE_TIMEOUT #endif`

doesn't make sense: WAITING_TURNAROUND_DELAY is 500 ms and the maximum is 20 with SDM_MAX_DELAY

geronet1 avatar Nov 17 '23 17:11 geronet1