mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
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:
parent
86128a19c8
commit
e11d726e27
3 changed files with 281 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue