kopia lustrzana https://github.com/cyoung/stratux
Formatting.
rodzic
5eb079dae6
commit
04ee9d8b1b
|
@ -749,7 +749,6 @@ type WeatherMessage struct {
|
||||||
TowerLon float64
|
TowerLon float64
|
||||||
TowerLat float64
|
TowerLat float64
|
||||||
TisId byte
|
TisId byte
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Send update to connected websockets.
|
// Send update to connected websockets.
|
||||||
|
|
|
@ -4,13 +4,14 @@ import (
|
||||||
"encoding/hex"
|
"encoding/hex"
|
||||||
"errors"
|
"errors"
|
||||||
"fmt"
|
"fmt"
|
||||||
"log"
|
|
||||||
"io/ioutil"
|
"io/ioutil"
|
||||||
|
"log"
|
||||||
"strconv"
|
"strconv"
|
||||||
"strings"
|
"strings"
|
||||||
)
|
)
|
||||||
|
|
||||||
var elementIdentifier byte
|
var elementIdentifier byte
|
||||||
|
|
||||||
const (
|
const (
|
||||||
UPLINK_BLOCK_DATA_BITS = 576
|
UPLINK_BLOCK_DATA_BITS = 576
|
||||||
UPLINK_BLOCK_BITS = (UPLINK_BLOCK_DATA_BITS + 160)
|
UPLINK_BLOCK_BITS = (UPLINK_BLOCK_DATA_BITS + 160)
|
||||||
|
|
Ładowanie…
Reference in New Issue