Skip to content

Commit 9b8d6c4

Browse files
committed
Fix wspr_encode documentation error
1 parent 053b458 commit 9b8d6c4

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/JTEncode.cpp

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -190,10 +190,11 @@ void JTEncode::jt4_encode(const char * msg, uint8_t * symbols)
190190
/*
191191
* wspr_encode(const char * call, const char * loc, const uint8_t dbm, uint8_t * symbols)
192192
*
193-
* Takes an arbitrary message of up to 13 allowable characters and returns
193+
* Takes a callsign, grid locator, and power level and returns a WSPR symbol
194+
* table for a Type 1, 2, or 3 message.
194195
*
195-
* call - Callsign (6 characters maximum).
196-
* loc - Maidenhead grid locator (4 characters maximum).
196+
* call - Callsign (11 characters maximum).
197+
* loc - Maidenhead grid locator (6 characters maximum).
197198
* dbm - Output power in dBm.
198199
* symbols - Array of channel symbols to transmit returned by the method.
199200
* Ensure that you pass a uint8_t array of at least size WSPR_SYMBOL_COUNT to the method.

0 commit comments

Comments
 (0)