This commit is contained in:
joan 2016-03-16 20:08:09 +00:00
parent cf62a6ad81
commit 3f426e699d
2 changed files with 3 additions and 2 deletions

View File

@ -25,7 +25,7 @@ OTHER DEALINGS IN THE SOFTWARE.
For more information, please refer to <http://unlicense.org/>
*/
/* pigpio version 48 */
/* pigpio version 49 */
/* include ------------------------------------------------------- */
@ -7568,6 +7568,7 @@ int initInitialise(void)
if (!gpioMaskSet)
{
if (rev == 0) gpioMask = PI_DEFAULT_UPDATE_MASK_UNKNOWN;
else if (rev == 16) gpioMask = PI_DEFAULT_UPDATE_MASK_APLUS_BPLUS;
else if (rev == 17) gpioMask = PI_DEFAULT_UPDATE_MASK_COMPUTE;
else if (rev < 4) gpioMask = PI_DEFAULT_UPDATE_MASK_B1;
else if (rev < 16) gpioMask = PI_DEFAULT_UPDATE_MASK_A_B2;

View File

@ -31,7 +31,7 @@ For more information, please refer to <http://unlicense.org/>
#include <stdint.h>
#include <pthread.h>
#define PIGPIO_VERSION 48
#define PIGPIO_VERSION 49
/*TEXT