Seeed-Studio / GPRS_SIM900

library for GPRS shield with sim900 module.
MIT License
138 stars 96 forks source link

NULL initialization for GPRS object. #49

Closed crisap94 closed 4 years ago

crisap94 commented 4 years ago

There should be an initialization NULL for the Object as if you try to access it with any initialization, there could be a way to prevent the unexpected behavior, and if you implement the singleton pattern, it is a good practice to define the instance NULL.