more const for lfsampling and lfzx

This commit is contained in:
Henry Gabryjelski 2023-08-14 23:07:19 -07:00
commit 78262139ec
3 changed files with 3 additions and 3 deletions

View file

@ -94,7 +94,7 @@ void setDefaultSamplingConfig(void) {
* @brief setSamplingConfig
* @param sc
*/
void setSamplingConfig(sample_config *sc) {
void setSamplingConfig(const sample_config *sc) {
// decimation (1-8) how many bits of adc sample value to save
if (sc->decimation > 0 && sc->decimation < 9)