Update main.xc

Removed calls to read_reg() from demo app