A Hardware Hacking Tool with Web-Based CLI That Speaks Every Protocol
C arduinobluetoothcan-busdebuggingeepromesp32flipperzerogpiohardware-hackingi2cjtagopenocdprotocolspwmradiorfidspisubghzuartwifi
use the defined value for rmt buffer instead of hardcoded one
Geoff02aabe8943
diff --git a/src/Services/SubGhzService.cpp b/src/Services/SubGhzService.cppindex e2aaf174..9f596832 100644--- a/src/Services/SubGhzService.cpp+++ b/src/Services/SubGhzService.cpp@@ -141,7 +141,7 @@ bool SubGhzService::startRawSniffer(int pin) {// Install RMT driverif (rmt_config(&rxconfig) != ESP_OK) return false;- if (rmt_driver_install(rxconfig.channel, 8192, 0) != ESP_OK) return false;+ if (rmt_driver_install(rxconfig.channel, RMT_BUFFER_SIZE, 0) != ESP_OK) return false;// Get ring buffer handleif (rmt_get_ringbuf_handle(rxconfig.channel, &rb_) != ESP_OK) return false;