feat: Add RAK2560 hardware model and graphic (#1543)

Adds the RAK2560 to the list of supported devices and associates it with the corresponding vector drawable.
This commit is contained in:
James Rich 2025-02-15 22:17:57 -06:00 committed by GitHub
parent 86128a19c8
commit e11d726e27
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 281 additions and 0 deletions

View file

@ -78,6 +78,7 @@ private fun getDrawableFrom(hwModel: Int): Int = when (hwModel) {
HardwareModel.RPI_PICO_VALUE -> R.drawable.hw_pico
HardwareModel.NRF52_PROMICRO_DIY_VALUE -> R.drawable.hw_promicro
HardwareModel.RAK11310_VALUE -> R.drawable.hw_rak11310
HardwareModel.RAK2560_VALUE -> R.drawable.hw_rak2560
HardwareModel.RAK4631_VALUE -> R.drawable.hw_rak4631_case
HardwareModel.RPI_PICO2_VALUE -> R.drawable.hw_rpipicow
HardwareModel.SENSECAP_INDICATOR_VALUE -> R.drawable.hw_seeed_sensecap_indicator