diff options
Diffstat (limited to 'driver_oncore.c')
-rw-r--r-- | driver_oncore.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/driver_oncore.c b/driver_oncore.c index f27df7af..8cd19a59 100644 --- a/driver_oncore.c +++ b/driver_oncore.c @@ -429,6 +429,9 @@ static ssize_t oncore_control_send(struct gps_device_t *session, static void oncore_event_hook(struct gps_device_t *session, event_t event) { + if (session->context->readonly) + return; + /* * Some oncore VP variants that have not been used after long * power-down will be silent on startup. Provoke |