nimaltd / gsm_v5

gsm module library for STM32 LL
GNU General Public License v3.0
232 stars 86 forks source link

Update Sim80x.c #11

Closed wilsonYD closed 5 years ago

wilsonYD commented 5 years ago

Position:Sim80x_SendAtCommand,strncpy(Sim80x.AtCommand.SendCommand, AtCommand, sizeof(Sim80x.AtCommand.SendCommand)); --> I tihink should be modified by strncpy(Sim80x.AtCommand.SendCommand, AtCommand, sizeof(AtCommand));

nimaltd commented 5 years ago

I think it is true. What is your problem?