kopia lustrzana https://github.com/bristol-seds/pico-tracker
[gps_osp] extend ON_OFF pulse so it is always at least 90us
There doesn't seem to be a maximum lengthmain-solar-only
rodzic
e9784f7afb
commit
180a39ec38
|
@ -278,7 +278,7 @@ void gps_se_on_off_pulse(void)
|
|||
PORT_PIN_PULL_NONE, /* Pull */
|
||||
false); /* Powersave */
|
||||
port_pin_set_output_level(GPS_SE_ON_OFF_PIN, 1); /* pulse high */
|
||||
for (int i = 0; i < 90*4; i++);
|
||||
for (int i = 0; i < 90*48; i++) { __NOP(); } /* > 90us */
|
||||
port_pin_set_output_level(GPS_SE_ON_OFF_PIN, 0);
|
||||
}
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue