File tree Expand file tree Collapse file tree 1 file changed +0
-21
lines changed Expand file tree Collapse file tree 1 file changed +0
-21
lines changed Original file line number Diff line number Diff line change @@ -374,27 +374,6 @@ static void RxChainCalibration( void )
374
374
SX1276SetChannel ( initialFreq );
375
375
}
376
376
377
- /*!
378
- * Returns the known FSK bandwidth registers value
379
- *
380
- * \param [IN] bandwidth Bandwidth value in Hz
381
- * \retval regValue Bandwidth register value.
382
- */
383
- static uint8_t GetFskBandwidthRegValue ( uint32_t bandwidth )
384
- {
385
- uint8_t i ;
386
-
387
- for ( i = 0 ; i < ( sizeof ( FskBandwidths ) / sizeof ( FskBandwidth_t ) ) - 1 ; i ++ )
388
- {
389
- if ( ( bandwidth >= FskBandwidths [i ].bandwidth ) && ( bandwidth < FskBandwidths [i + 1 ].bandwidth ) )
390
- {
391
- return FskBandwidths [i ].RegValue ;
392
- }
393
- }
394
- // ERROR: Value not found
395
- while ( 1 );
396
- }
397
-
398
377
IRAM_ATTR void SX1276SetRxConfig ( RadioModems_t modem , uint32_t bandwidth ,
399
378
uint32_t datarate , uint8_t coderate ,
400
379
uint32_t bandwidthAfc , uint16_t preambleLen ,
You can’t perform that action at this time.
0 commit comments