[gps_osp] extend ON_OFF pulse so it is always at least 90us

There doesn't seem to be a maximum length
main-solar-only
Richard Meadows 2016-04-23 10:57:09 +01:00
rodzic e9784f7afb
commit 180a39ec38
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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);
}