mirror of
https://github.com/markqvist/OpenModem.git
synced 2025-04-19 15:16:11 -04:00
Fixed error with message SSID not accepting single digit numbers.
This commit is contained in:
parent
469740c86f
commit
6bd07702f7
@ -605,7 +605,7 @@ void ss_serialCallback(void *_buffer, size_t length, AX25Ctx *ctx) {
|
||||
}
|
||||
if (!VERBOSE && !SILENT) printf_P(PSTR("1\n"));
|
||||
} else if (buffer[0] == 's' && length > 1) {
|
||||
if (length > 2) {
|
||||
if (length > 3) {
|
||||
message_recip_ssid = 10+buffer[2]-48;
|
||||
} else {
|
||||
message_recip_ssid = buffer[1]-48;
|
||||
|
Loading…
x
Reference in New Issue
Block a user