Skip to content

Commit 1641d15

Browse files
codal_app: Set 8bit level detector floor to 52.0 dB.
To match the same floor as the previous implementatio. As the new implementation is more sensitive to lower volume levels and in "generic quiet room" it gave much higher values, increasing the LEVEL_DETECTOR_SPL_8BIT_000_POINT config value will match the previous version. As discussed in lancaster-university/codal-microbit-v2#236 Can be removed with the next CODAL tag 0.2.44, which will change the default value of LEVEL_DETECTOR_SPL_8BIT_000_POINT.
1 parent 87f1322 commit 1641d15

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/codal_app/codal.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
"MICROBIT_BLE_PAIRING_MODE": 1,
1313
"MICROBIT_BLE_PARTIAL_FLASHING" : 1,
1414
"MICROBIT_BLE_SECURITY_MODE": 2,
15-
"MICROBIT_USB_SERIAL_WAKE": 1
15+
"MICROBIT_USB_SERIAL_WAKE": 1,
16+
"LEVEL_DETECTOR_SPL_8BIT_000_POINT": 52.0
1617
},
1718
"application": "../../src/codal_app",
1819
"output_folder": "../../src/build"

0 commit comments

Comments
 (0)