mirror of
https://github.com/markqvist/OpenModem.git
synced 2025-06-07 06:12:42 -04:00
Fixed error with message SSID not accepting single digit numbers.
This commit is contained in:
parent
469740c86f
commit
6bd07702f7
1 changed files with 1 additions and 1 deletions
|
@ -605,7 +605,7 @@ void ss_serialCallback(void *_buffer, size_t length, AX25Ctx *ctx) {
|
||||||
}
|
}
|
||||||
if (!VERBOSE && !SILENT) printf_P(PSTR("1\n"));
|
if (!VERBOSE && !SILENT) printf_P(PSTR("1\n"));
|
||||||
} else if (buffer[0] == 's' && length > 1) {
|
} else if (buffer[0] == 's' && length > 1) {
|
||||||
if (length > 2) {
|
if (length > 3) {
|
||||||
message_recip_ssid = 10+buffer[2]-48;
|
message_recip_ssid = 10+buffer[2]-48;
|
||||||
} else {
|
} else {
|
||||||
message_recip_ssid = buffer[1]-48;
|
message_recip_ssid = buffer[1]-48;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue