Changeset - 145ff3003e1e
[Not reviewed]
default
0 1 0
Ethan Zonca - 8 years ago 2017-10-14 13:36:10
ez@ethanzonca.com
Fixed extended stuff! Changed ID to hopefully unused one. Power is still superlow.
1 file changed with 2 insertions and 2 deletions:
0 comments (0 inline, 0 general)
src/wspr.c
Show inline comments
 
@@ -102,13 +102,13 @@ void wspr_transmit(uint8_t* grid_locator
 
            call[1] = '0' + chunk;
 
        else
 
            call[1] = chunk - 10 + 'A';
 

	
 

	
 
        // Static set ID
 
        call[2] = '4'; // balloon ID #4
 
        call[2] = '3'; // balloon ID #4
 

	
 
        // Subtract off previous portion
 
        subalt -= (chunk * 26 * 26 * 26);
 

	
 
        // Mask off following 2 26bit values
 
        chunk = (subalt / 26 / 26);
 
@@ -195,13 +195,13 @@ void wspr_transmit(uint8_t* grid_locator
 
        engdata -= (chunk * 10 * 19);  
 

	
 
        // Mask off
 
        chunk = engdata / 19;  
 

	
 
        // Encode
 
        loc[3] = chunk;
 
        loc[3] = '0' + chunk;
 

	
 
        // Subtract
 
        engdata -= (chunk * 19);  
 

	
 
        // Mask off
 
        chunk = engdata;  
0 comments (0 inline, 0 general)