Skip to content

Commit

Permalink
Reformat spacing/comments in src/xbee.h
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanrueger committed Aug 18, 2024
1 parent 94fa546 commit 1113b64
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions src/xbee.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,22 +23,23 @@ extern const char xbee_desc[];
void xbee_initpgm(PROGRAMMER *pgm);

/*
* For non-direct mode (Over-The-Air) we need to issue XBee commands
* to the remote XBee in order to reset the AVR CPU and initiate the
* XBeeBoot bootloader.
* For non-direct mode (Over-The-Air) we need to issue XBee commands to the
* remote XBee in order to reset the AVR CPU and initiate the XBeeBoot
* bootloader.
*
* XBee IO port 3 is a somewhat-arbitrarily chosen pin that can be
* connected directly to the AVR reset pin.
* XBee IO port 3 is a somewhat-arbitrarily chosen pin that can be connected
* directly to the AVR reset pin.
*
* Note that port 7 was not used because it is the only pin that can
* be used as a CTS flow control output. Port 6 is the only pin that
* can be used as an RTS flow control input.
* Note that port 7 was not used because it is the only pin that can be used as
* a CTS flow control output. Port 6 is the only pin that can be used as an
* RTS flow control input.
*
* Some off-the-shelf Arduino shields select a different pin. For
* example this one uses XBee IO port 7.
* Some off-the-shelf Arduino shields select a different pin. For example this
* one uses XBee IO port 7.
*
* https://wiki.dfrobot.com/Xbee_Shield_For_Arduino__no_Xbee___SKU_DFR0015_
*/

#ifndef XBEE_DEFAULT_RESET_PIN
#define XBEE_DEFAULT_RESET_PIN 3
#endif
Expand Down

0 comments on commit 1113b64

Please sign in to comment.