Skip to content

Commit 7cd481b

Browse files
authored
fix rust lints (#1424)
# Description @swift-nav/devinfra A simple whitespace fix to get rust lints passing # API compatibility Does this change introduce a API compatibility risk? No ## API compatibility plan N/A # JIRA Reference N/A
1 parent 882a203 commit 7cd481b

File tree

11 files changed

+32
-18
lines changed

11 files changed

+32
-18
lines changed

c/include/libsbp/observation/AlmanacCommonContent.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ typedef struct {
7373
* - bits 0-4: Signal health status. See IS-GPS-200H
7474
* Table 20-VIII. Codes for Health of SV Signal
7575
* Components.
76+
*
7677
* Satellite health status for GLO (see GLO ICD 5.1 table 5.1 for details):
7778
* - bit 0: C(n), "unhealthy" flag that is transmitted within
7879
* non-immediate data and indicates overall constellation status

c/include/libsbp/observation/AlmanacCommonContentDep.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ typedef struct {
7373
* - bits 0-4: Signal health status. See IS-GPS-200H
7474
* Table 20-VIII. Codes for Health of SV Signal
7575
* Components.
76+
*
7677
* Satellite health status for GLO (see GLO ICD 5.1 table 5.1 for details):
7778
* - bit 0: C(n), "unhealthy" flag that is transmitted within
7879
* non-immediate data and indicates overall constellation status

haskell/src/SwiftNav/SBP/Observation.hs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2731,6 +2731,7 @@ data AlmanacCommonContent = AlmanacCommonContent
27312731
-- - bits 0-4: Signal health status. See IS-GPS-200H
27322732
-- Table 20-VIII. Codes for Health of SV Signal
27332733
-- Components.
2734+
--
27342735
-- Satellite health status for GLO (see GLO ICD 5.1 table 5.1 for
27352736
-- details):
27362737
-- - bit 0: C(n), "unhealthy" flag that is transmitted within
@@ -2781,6 +2782,7 @@ data AlmanacCommonContentDep = AlmanacCommonContentDep
27812782
-- - bits 0-4: Signal health status. See IS-GPS-200H
27822783
-- Table 20-VIII. Codes for Health of SV Signal
27832784
-- Components.
2785+
--
27842786
-- Satellite health status for GLO (see GLO ICD 5.1 table 5.1 for
27852787
-- details):
27862788
-- - bit 0: C(n), "unhealthy" flag that is transmitted within

java/src/com/swiftnav/sbp/observation/AlmanacCommonContent.java

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,13 @@ public class AlmanacCommonContent extends SBPStruct {
4040
/**
4141
* Satellite health status for GPS: - bits 5-7: NAV data health status. See IS-GPS-200H Table
4242
* 20-VII: NAV Data Health Indications. - bits 0-4: Signal health status. See IS-GPS-200H Table
43-
* 20-VIII. Codes for Health of SV Signal Components. Satellite health status for GLO (see GLO
44-
* ICD 5.1 table 5.1 for details): - bit 0: C(n), "unhealthy" flag that is transmitted within
45-
* non-immediate data and indicates overall constellation status at the moment of almanac
46-
* uploading. '0' indicates malfunction of n-satellite. '1' indicates that n-satellite is
47-
* operational. - bit 1: Bn(ln), '0' indicates the satellite is operational and suitable for
48-
* navigation.
43+
* 20-VIII. Codes for Health of SV Signal Components.
44+
*
45+
* <p>Satellite health status for GLO (see GLO ICD 5.1 table 5.1 for details): - bit 0: C(n),
46+
* "unhealthy" flag that is transmitted within non-immediate data and indicates overall
47+
* constellation status at the moment of almanac uploading. '0' indicates malfunction of
48+
* n-satellite. '1' indicates that n-satellite is operational. - bit 1: Bn(ln), '0' indicates
49+
* the satellite is operational and suitable for navigation.
4950
*/
5051
public int health_bits;
5152

java/src/com/swiftnav/sbp/observation/AlmanacCommonContentDep.java

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,13 @@ public class AlmanacCommonContentDep extends SBPStruct {
4040
/**
4141
* Satellite health status for GPS: - bits 5-7: NAV data health status. See IS-GPS-200H Table
4242
* 20-VII: NAV Data Health Indications. - bits 0-4: Signal health status. See IS-GPS-200H Table
43-
* 20-VIII. Codes for Health of SV Signal Components. Satellite health status for GLO (see GLO
44-
* ICD 5.1 table 5.1 for details): - bit 0: C(n), "unhealthy" flag that is transmitted within
45-
* non-immediate data and indicates overall constellation status at the moment of almanac
46-
* uploading. '0' indicates malfunction of n-satellite. '1' indicates that n-satellite is
47-
* operational. - bit 1: Bn(ln), '0' indicates the satellite is operational and suitable for
48-
* navigation.
43+
* 20-VIII. Codes for Health of SV Signal Components.
44+
*
45+
* <p>Satellite health status for GLO (see GLO ICD 5.1 table 5.1 for details): - bit 0: C(n),
46+
* "unhealthy" flag that is transmitted within non-immediate data and indicates overall
47+
* constellation status at the moment of almanac uploading. '0' indicates malfunction of
48+
* n-satellite. '1' indicates that n-satellite is operational. - bit 1: Bn(ln), '0' indicates
49+
* the satellite is operational and suitable for navigation.
4950
*/
5051
public int health_bits;
5152

javascript/sbp/observation.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2495,7 +2495,7 @@ MsgGroupDelay.prototype.fieldSpec.push(['isc_l2c', 'writeInt16LE', 2]);
24952495
* @field health_bits number (unsigned 8-bit int, 1 byte) Satellite health status for GPS: - bits 5-7: NAV data health status. See IS-
24962496
* GPS-200H Table 20-VII: NAV Data Health Indications. - bits 0-4: Signal
24972497
* health status. See IS-GPS-200H Table 20-VIII. Codes for Health of SV Signal
2498-
* Components. Satellite health status for GLO (see GLO ICD 5.1 table 5.1 for
2498+
* Components. Satellite health status for GLO (see GLO ICD 5.1 table 5.1 for
24992499
* details): - bit 0: C(n), "unhealthy" flag that is transmitted within non-
25002500
* immediate data and indicates overall constellation status at the moment of
25012501
* almanac uploading. '0' indicates malfunction of n-satellite. '1'
@@ -2543,7 +2543,7 @@ AlmanacCommonContent.prototype.fieldSpec.push(['health_bits', 'writeUInt8', 1]);
25432543
* @field health_bits number (unsigned 8-bit int, 1 byte) Satellite health status for GPS: - bits 5-7: NAV data health status. See IS-
25442544
* GPS-200H Table 20-VII: NAV Data Health Indications. - bits 0-4: Signal
25452545
* health status. See IS-GPS-200H Table 20-VIII. Codes for Health of SV Signal
2546-
* Components. Satellite health status for GLO (see GLO ICD 5.1 table 5.1 for
2546+
* Components. Satellite health status for GLO (see GLO ICD 5.1 table 5.1 for
25472547
* details): - bit 0: C(n), "unhealthy" flag that is transmitted within non-
25482548
* immediate data and indicates overall constellation status at the moment of
25492549
* almanac uploading. '0' indicates malfunction of n-satellite. '1'

kaitai/ksy/observation.ksy

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2210,6 +2210,7 @@ types:
22102210
- bits 0-4: Signal health status. See IS-GPS-200H
22112211
Table 20-VIII. Codes for Health of SV Signal
22122212
Components.
2213+
22132214
Satellite health status for GLO (see GLO ICD 5.1 table 5.1 for
22142215
details):
22152216
- bit 0: C(n), "unhealthy" flag that is transmitted within
@@ -2251,6 +2252,7 @@ types:
22512252
- bits 0-4: Signal health status. See IS-GPS-200H
22522253
Table 20-VIII. Codes for Health of SV Signal
22532254
Components.
2255+
22542256
Satellite health status for GLO (see GLO ICD 5.1 table 5.1 for
22552257
details):
22562258
- bit 0: C(n), "unhealthy" flag that is transmitted within

python/sbp/observation.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -782,6 +782,7 @@ class AlmanacCommonContent(object):
782782
- bits 0-4: Signal health status. See IS-GPS-200H
783783
Table 20-VIII. Codes for Health of SV Signal
784784
Components.
785+
785786
Satellite health status for GLO (see GLO ICD 5.1 table 5.1 for details):
786787
- bit 0: C(n), "unhealthy" flag that is transmitted within
787788
non-immediate data and indicates overall constellation status
@@ -850,6 +851,7 @@ class AlmanacCommonContentDep(object):
850851
- bits 0-4: Signal health status. See IS-GPS-200H
851852
Table 20-VIII. Codes for Health of SV Signal
852853
Components.
854+
853855
Satellite health status for GLO (see GLO ICD 5.1 table 5.1 for details):
854856
- bit 0: C(n), "unhealthy" flag that is transmitted within
855857
non-immediate data and indicates overall constellation status

rust/sbp/src/messages/invalid.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
//! Invalid messages. This message type should be created out of two errors:
22
//! The SbpMsgParseError, & the CrcError. They correspond to two cases
3-
//! 1) the Frame is invalid because either it either has an invalid CRC or
4-
//! it is missing some metadata like msg_type or similar.
5-
//! 2) The message is invalid because the payload is not large enough and cannot be
6-
//! parsed into a message. This is the SbpMsgParseError.
3+
//! 1. The Frame is invalid because either it either has an invalid CRC or
4+
//! it is missing some metadata like msg_type or similar.
5+
//! 2. The message is invalid because the payload is not large enough and cannot be
6+
//! parsed into a message. This is the SbpMsgParseError.
77
88
use bytes::{Buf, BufMut};
99

rust/sbp/src/messages/observation.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ pub mod almanac_common_content {
102102
/// - bits 0-4: Signal health status. See IS-GPS-200H
103103
/// Table 20-VIII. Codes for Health of SV Signal
104104
/// Components.
105+
///
105106
/// Satellite health status for GLO (see GLO ICD 5.1 table 5.1 for details):
106107
/// - bit 0: C(n), "unhealthy" flag that is transmitted within
107108
/// non-immediate data and indicates overall constellation status
@@ -182,6 +183,7 @@ pub mod almanac_common_content_dep {
182183
/// - bits 0-4: Signal health status. See IS-GPS-200H
183184
/// Table 20-VIII. Codes for Health of SV Signal
184185
/// Components.
186+
///
185187
/// Satellite health status for GLO (see GLO ICD 5.1 table 5.1 for details):
186188
/// - bit 0: C(n), "unhealthy" flag that is transmitted within
187189
/// non-immediate data and indicates overall constellation status

0 commit comments

Comments
 (0)