This commit is contained in:
Jordan Sherer 2018-07-13 22:13:18 -04:00
parent 2ae74d8cde
commit f77f139abb

View File

@ -458,11 +458,9 @@ QString Varicode::unpackGrid(quint16 value){
float dlat = value % 180 - 90; float dlat = value % 180 - 90;
float dlong = value / 180 * 2 - 180 + 2; float dlong = value / 180 * 2 - 180 + 2;
return deg2grid(dlong, dlat).left(4);g return deg2grid(dlong, dlat).left(4);
} }
QString Varicode::packDirectedMessage(const QString &text, int *n){ QString Varicode::packDirectedMessage(const QString &text, int *n){
QString frame; QString frame;
QString cmds("?$@&| "); QString cmds("?$@&| ");