Project

General

Profile

« Previous | Next » 

Revision 6e306fcd

Added by dsorber about 13 years ago

Okay, fixing that bug for reals now.

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()
......
def main():
global CURRENT_IDX
global SENSORS
global DEBUG
# Make sure the script is being run as root before continuing
if os.geteuid() != 0:

Also available in: Unified diff