Extend WWAN modem PERST to 300ms

It seems like a lot of modems have rather long (100ms!) minimum reset
durations.  Makes me wonder if it's an actual reset line or rather juts
some GPIO that they poll/sample every so often.  Then there are other
modems that state the reset *must not* be longer than 1s.  So let's
choose 300ms as a value in-between.
This commit is contained in:
Harald Welte
2017-02-04 12:40:10 +01:00
parent 987f59aa02
commit 9c78cff10b

View File

@@ -10,7 +10,7 @@
#include "wwan_perst.h"
#include "osmocom/core/timer.h"
#define PERST_DURATION_MS 1
#define PERST_DURATION_MS 300
#ifdef PIN_PERST1
static const Pin pin_perst1 = PIN_PERST1;