Project

General

Profile

« Previous | Next » 

Revision f945a1fe

Added by dsorber about 13 years ago

Fixing a global variable bug in RPi client.

View differences:

525.743/code/rpi_client.py
def button_isr(gpio_id, val):
global CURRENT_IDX
global SENSORS
global DEBUG
# Turn off previous sensor indicator LED
SENSORS[CURRENT_IDX].led.off()

Also available in: Unified diff