mirror of
https://github.com/meshtastic/firmware.git
synced 2025-04-23 09:06:02 +00:00
Fix excluded_modules metadata with InkHUD (#6272)
This commit is contained in:
parent
c54fc5b7c5
commit
5de6bc1851
@ -1225,8 +1225,12 @@ extern meshtastic_DeviceMetadata getDeviceMetadata()
|
|||||||
#if MESHTASTIC_EXCLUDE_AUDIO
|
#if MESHTASTIC_EXCLUDE_AUDIO
|
||||||
deviceMetadata.excluded_modules |= meshtastic_ExcludedModules_AUDIO_CONFIG;
|
deviceMetadata.excluded_modules |= meshtastic_ExcludedModules_AUDIO_CONFIG;
|
||||||
#endif
|
#endif
|
||||||
#if !HAS_SCREEN || NO_EXT_GPIO
|
// Option to explicitly include canned messages for edge cases, e.g. niche graphics
|
||||||
deviceMetadata.excluded_modules |= meshtastic_ExcludedModules_CANNEDMSG_CONFIG | meshtastic_ExcludedModules_EXTNOTIF_CONFIG;
|
#if (!HAS_SCREEN && NO_EXT_GPIO) && !MESHTASTIC_INCLUDE_CANNEDMSG
|
||||||
|
deviceMetadata.excluded_modules |= meshtastic_ExcludedModules_CANNEDMSG_CONFIG;
|
||||||
|
#endif
|
||||||
|
#if NO_EXT_GPIO
|
||||||
|
deviceMetadata.excluded_modules |= meshtastic_ExcludedModules_EXTNOTIF_CONFIG;
|
||||||
#endif
|
#endif
|
||||||
// Only edge case here is if we apply this a device with built in Accelerometer and want to detect interrupts
|
// Only edge case here is if we apply this a device with built in Accelerometer and want to detect interrupts
|
||||||
// We'll have to macro guard against those targets potentially
|
// We'll have to macro guard against those targets potentially
|
||||||
|
Loading…
Reference in New Issue
Block a user