altos/ao_rn4678: Send '$$$' for new devices. Fix name setting code.
authorKeith Packard <keithp@keithp.com>
Mon, 15 May 2017 15:59:52 +0000 (08:59 -0700)
committerKeith Packard <keithp@keithp.com>
Mon, 15 May 2017 15:59:52 +0000 (08:59 -0700)
commitab50a1467bac0234062bc8c0a17783f1730aa981
tree51d982bc8626648122355f52063374a4a095abe1
parentf132a22995235f3002e4a2bb8771c9b5738efb30
altos/ao_rn4678: Send '$$$' for new devices. Fix name setting code.

New devices won't respond to the cmd pin we have configured, so get
them to command mode by sending the $$$ string. Somehow I'd botched
the name setting code and hadn't caught it as I hadn't tried a new
device...

Signed-off-by: Keith Packard <keithp@keithp.com>
src/drivers/ao_rn4678.c