Fixed device default to "/dev/modem"
This commit is contained in:
parent
2933d4cf55
commit
41f560524d
@ -252,8 +252,6 @@ GSM * gsm_new(char const * device, unsigned int baudrate, unsigned int hwflow)
|
|||||||
{
|
{
|
||||||
GSM * gsm;
|
GSM * gsm;
|
||||||
|
|
||||||
if(device == NULL)
|
|
||||||
return NULL;
|
|
||||||
if((gsm = malloc(sizeof(*gsm))) == NULL)
|
if((gsm = malloc(sizeof(*gsm))) == NULL)
|
||||||
return NULL;
|
return NULL;
|
||||||
/* settings */
|
/* settings */
|
||||||
|
Loading…
Reference in New Issue
Block a user