D | main.c | 47 #define GNSS_SYSTEMS_PRINTF(define, supported, enabled) \ argument 48 printf("\t%20s: Supported: %3s Enabled: %3s\n", \ 49 STRINGIFY(define), (supported & define) ? "Yes" : "No", \ 54 gnss_systems_t supported, enabled; in main() local 58 rc = gnss_get_supported_systems(GNSS_MODEM, &supported); in main() 60 printf("Failed to query supported systems (%d)\n", rc); in main() 69 GNSS_SYSTEMS_PRINTF(GNSS_SYSTEM_GPS, supported, enabled); in main() 70 GNSS_SYSTEMS_PRINTF(GNSS_SYSTEM_GLONASS, supported, enabled); in main() 71 GNSS_SYSTEMS_PRINTF(GNSS_SYSTEM_GALILEO, supported, enabled); in main() 72 GNSS_SYSTEMS_PRINTF(GNSS_SYSTEM_BEIDOU, supported, enabled); in main() [all …]
|