hw_ get_ Module parameter

King of heaven and earth tiger 626 2021-04-02 10:45:36 阅读数:665

本文一共[544]字,预计阅读时长:1分钟~
hw_ hw get_ module parameter

camera_module_t *rawModule;
    /*** NOTE THIS ***/
    int err = hw_get_module(CAMERA_HARDWARE_MODULE_ID, (const hw_module_t **)&rawModule);

First  rawModule Is a pointer , that &rawModule Is the address of the pointer , I.e. secondary pointer

(const hw_module_t **)&rawModule Express camera_module_t Properties in a class hw_module_t common;

版权声明:本文为[King of heaven and earth tiger 626]所创,转载请带上原文链接,感谢。 https://netfreeman.com/2021/04/20210401042040188m.html