2023-04-14 15:18:03 +00:00
|
|
|
#ifndef _UNIT_VARIANT_H
|
|
|
|
#define _UNIT_VARIANT_H
|
|
|
|
|
|
|
|
#include <stdbool.h>
|
|
|
|
#include <stdint.h>
|
|
|
|
|
2024-08-13 05:47:59 +00:00
|
|
|
#ifdef KERNEL_MODE
|
|
|
|
|
2023-04-14 15:18:03 +00:00
|
|
|
void unit_variant_init(void);
|
2024-08-13 05:47:59 +00:00
|
|
|
|
|
|
|
#endif // KERNEL_MODE
|
|
|
|
|
2023-04-14 15:18:03 +00:00
|
|
|
bool unit_variant_present(void);
|
|
|
|
uint8_t unit_variant_get_color(void);
|
2024-04-11 14:35:50 +00:00
|
|
|
uint8_t unit_variant_get_packaging(void);
|
2023-04-14 15:18:03 +00:00
|
|
|
bool unit_variant_get_btconly(void);
|
|
|
|
|
2024-01-12 14:42:01 +00:00
|
|
|
bool unit_variant_is_sd_hotswap_enabled(void);
|
|
|
|
|
2023-04-14 15:18:03 +00:00
|
|
|
#endif //_UNIT_VARIANT_H
|