Skip to content

Commit

Permalink
Added Pauledd's fix for gcc compiler 6.x
Browse files Browse the repository at this point in the history
  • Loading branch information
magnue committed Apr 10, 2018
1 parent 6b79bea commit a1e5c18
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions wiringpi_gpio/wiringpi_gpio.cpp
Expand Up @@ -81,6 +81,9 @@ WiringPiGPIO::WiringPiGPIO()
{
InputDigitalLP[i] = new ILightVectorProperty;
OutputDigitalSP[i] = new ISwitchVectorProperty;
// @pauledd bugfix for gcc-6.x
InputDigitalLP[i]->lp = NULL;
OutputDigitalSP[i]->sp = NULL;
}
OutputPWMNP = new INumberVectorProperty;

Expand Down

0 comments on commit a1e5c18

Please sign in to comment.