From 1504fc98eac8b027828e404b13e3292911d8bfb6 Mon Sep 17 00:00:00 2001 From: Kevin Townsend Date: Tue, 1 Aug 2017 00:41:36 +0200 Subject: [PATCH] Update flow chart --- .../rssi_proximity_central.ino | 33 +++++++++---------- 1 file changed, 16 insertions(+), 17 deletions(-) diff --git a/libraries/Bluefruit52Lib/examples/Projects/rssi_proximity/rssi_proximity_central/rssi_proximity_central.ino b/libraries/Bluefruit52Lib/examples/Projects/rssi_proximity/rssi_proximity_central/rssi_proximity_central.ino index b163ff68..8d8339de 100644 --- a/libraries/Bluefruit52Lib/examples/Projects/rssi_proximity/rssi_proximity_central/rssi_proximity_central.ino +++ b/libraries/Bluefruit52Lib/examples/Projects/rssi_proximity/rssi_proximity_central/rssi_proximity_central.ino @@ -442,25 +442,25 @@ int insertRecord(node_record_t *record) * 1. | BUBBLE SORT | // Put list in known state! * +-------------+ * | - * \ / - * ENTRY YES - * 2. EXISTS W/THIS ------------------+ - * ADDRESS? | - * | | + * _____\ /_____ + * / ENTRY \ YES + * 2. < EXISTS W/THIS > ------------------+ + * \ ADDRESS? / | + * ----------- | * | NO | * | | - * \ / | - * IS YES | - * 3. THERE A ZERO'ED ------------------+ - * RECORD? | - * | | + * ______\ /______ | + * / IS \ YES | + * 3. < THERE A ZERO'ED >------------------+ + * \ RECORD? / | + * ------------- | * | NO | * | | - * \ / | - * IS THE YES | - * 4. RECORD'S RSSI >= ------------------| - * THE LOWEST RSSI? | - * | | + * ______\ /________ | + * / IS THE \ YES | + * 4.< RECORD'S RSSI >= >----------------| + * \ THE LOWEST RSSI? / | + * ---------------- | * | NO | * | | * \ / \ / @@ -476,8 +476,7 @@ int insertRecord(node_record_t *record) /* 1. Bubble Sort * This puts the lists in a known state where we can make - * certain assumptions about the last record in the array. - */ + * certain assumptions about the last record in the array. */ bubbleSort(); /* 2. Check for a match on existing device address */