chore(radio): remove hardware definitions present in JSON (#6437)
Co-authored-by: philmoz <phil.a.mitchell@gmail.com>
This commit is contained in:
co-authored by
philmoz
parent
2ca8e3e7b6
commit
df981597c6
@@ -78,6 +78,7 @@ struct etx_hal_adc_driver_t {
|
||||
potconfig_t default_pots_cfg;
|
||||
|
||||
bool (*init)();
|
||||
void (*deinit)();
|
||||
bool (*start_conversion)();
|
||||
void (*wait_completion)();
|
||||
|
||||
|
||||
@@ -65,8 +65,13 @@ uint32_t readTrims();
|
||||
// Init GPIO ports
|
||||
void keysInit();
|
||||
|
||||
// returns a bit field with each supported key
|
||||
uint32_t keysGetSupported();
|
||||
|
||||
static inline bool keyIsSupported(EnumKeys key) {
|
||||
return keysGetSupported() & (1 << key);
|
||||
}
|
||||
|
||||
uint8_t keysGetMaxKeys();
|
||||
uint8_t keysGetMaxTrims();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user