Skip to content

Commit 19cf67c

Browse files
authored
Fix config for Mystrix Pro RC
1 parent 3ac4f37 commit 19cf67c

1 file changed

Lines changed: 7 additions & 5 deletions

File tree

devices/MatrixBlock6/Variants/Mystrix/Device.cpp

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,12 @@ namespace Device
3636
led_partitions.pop_back();
3737
}
3838
else
39-
{
40-
KeyPad::velocity_sensitivity = false;
41-
// Remove "Underglow" from led_partitions
42-
led_partitions.pop_back();
39+
{
40+
// Default to Mystrix Pro because RC units has no config baked in
41+
name += " Pro";
42+
product_name += " Pro";
43+
model = "MX1P";
44+
KeyPad::velocity_sensitivity = true;
4345
ESP_LOGE("Device Init", "Failed to find config for %.4s %.4s", deviceInfo.Model, deviceInfo.Revision);
4446
}
4547

@@ -59,4 +61,4 @@ namespace Device
5961
LoadV110();
6062
}
6163
}
62-
}
64+
}

0 commit comments

Comments
 (0)