mirror of
https://gitlab.com/mobian1/eg25-manager.git
synced 2025-08-30 07:42:23 +02:00
manager: parse config file
The need to use libusb to check for the modem state on startup now depends on a config option, instead of the device type. The USB PID and VID are moved to config as well.
This commit is contained in:
@@ -31,6 +31,9 @@ struct EG25Manager {
|
||||
GMainLoop *loop;
|
||||
guint reset_timer;
|
||||
gboolean manage_gnss;
|
||||
gboolean use_libusb;
|
||||
guint usb_vid;
|
||||
guint usb_pid;
|
||||
|
||||
int at_fd;
|
||||
guint at_source;
|
||||
@@ -38,7 +41,6 @@ struct EG25Manager {
|
||||
|
||||
enum EG25State modem_state;
|
||||
gchar *modem_usb_id;
|
||||
gboolean braveheart;
|
||||
|
||||
guint mm_watch;
|
||||
MMManager *mm_manager;
|
||||
|
Reference in New Issue
Block a user