config: rename display to device

Because we toggle some ioctl settings based on this field, change the
name to better capture that we're selecting which device we want to load
settings for, not just the display module to load. This creates room for
future per-device settings without needing more config file fields.
This commit is contained in:
oopsbagel
2025-07-17 15:03:10 -07:00
committed by Will Greenberg
parent 841bc7b015
commit e239653a44
7 changed files with 17 additions and 18 deletions

View File

@@ -104,7 +104,7 @@ async fn setup_rayhunter(mut adb_device: ADBUSBDevice) -> Result<ADBUSBDevice> {
&mut adb_device,
"/data/rayhunter/config.toml",
CONFIG_TOML
.replace("#display = \"orbic\"", "display = \"orbic\"")
.replace("#device = \"orbic\"", "device = \"orbic\"")
.as_bytes(),
)
.await?;