Is the document on Device Driver Blocks correct?

1 vue (au cours des 30 derniers jours)
Shogo Muramatsu
Shogo Muramatsu le 2 Mar 2018
In the second step of the document on " Write the Hardware Specific C/C++ Code " may lose the line
static int initialized = false;
before the following comment.
// Perform one-time wiringPi initialization
As well,in the third step of the document on " Specify the Initialization, Output, and Termination Behavior " may lose the line
buildInfo.addLinkFlags({'-lwiringPi'});
after the line
addSourceFiles(buildInfo,'digitalio_raspi.c', srcDir);
in the updateBuildInfo function.

Réponse acceptée

Akihiro Yasuda
Akihiro Yasuda le 25 Avr 2018
I agree with your opinion. And, you can report those document bug to MathWorks Technical Support.

Plus de réponses (0)

Produits

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!