vshymanskyy / TinyGSM

A small Arduino library for GSM modules, that just works
GNU Lesser General Public License v3.0
1.96k stars 728 forks source link

sleepEnableImpl. SIM800. Give the posibility of use the CSCLK=2 option #367

Open ortegafernando opened 4 years ago

ortegafernando commented 4 years ago

sleepEnableImpl Give option to use +CSCLK=2 (only change function's parameter type from boolean to byte)

I have only changed enabled parameter type from boolean to type. Every people that it is using with false and true, will be ok, but I, and others, could also use 2 as parameter to get +CSCLK=2 (another option to sleep SIM800).

I hope you could merge this little change

Thanks