Skip to content

Commit bf7a82b

Browse files
committed
make it a const
1 parent c430354 commit bf7a82b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

examples/simple_repeater/MyMesh.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ int8_t MyMesh::findNeighbourSNR(const uint8_t* hash, uint8_t hash_size) {
100100
}
101101

102102
// Approximate SNR demod floor per SF (same as RadioLibWrappers.cpp)
103-
static float cr_snr_thresholds[] = {
103+
static const float cr_snr_thresholds[] = {
104104
-7.5f, // SF7
105105
-10.0f, // SF8
106106
-12.5f, // SF9

0 commit comments

Comments
 (0)