/* Call interrupt handlers */
while (status) {
- if (status & 1) {
+ if (status & 0x01) {
/* Is there an handler for this one ? */
if (gpio_callbacks_port0[i] != NULL) {
gpio_callbacks_port0[i](i);
/* Call interrupt handlers */
while (status) {
- if (status & 1) {
+ if (status & 0x01) {
/* Is there an handler for this one ? */
if (gpio_callbacks_port1[i] != NULL) {
gpio_callbacks_port1[i](i);
/* Call interrupt handlers */
while (status) {
- if (status & 1) {
+ if (status & 0x01) {
/* Is there an handler for this one ? */
if (gpio_callbacks_port2[i] != NULL) {
gpio_callbacks_port2[i](i);