* First loop should not be checking pinmap for -1. * Second loop should ensure no pending event when first allocating the GPIOTE channel. * Second loop needs to update pinmap with pin when allocated the GPIOTE channel.
* First loop should not be checking pinmap for -1. * Second loop should ensure no pending event when first allocating the GPIOTE channel. * Second loop needs to update pinmap with pin when allocated the GPIOTE channel.