Skip to content

Commit

Permalink
add more comment
Browse files Browse the repository at this point in the history
  • Loading branch information
DeqingSun committed Apr 5, 2021
1 parent e366d39 commit 493b4c5
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Adafruit_AVRProg.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -640,6 +640,7 @@ void Adafruit_AVRProg::generateClock() {
@brief If your target chip will be running with internal RC oscillator,
We can perform an calibration with the method described in AVR053.
ONLY FOR AVR 'HOSTS' with a crystal oscillator, which is accurate.
@return Calibrated value of OSCCAL, 0xFF if anything goes wrong.
*/
/**************************************************************************/
uint8_t Adafruit_AVRProg::internalRcCalibration() {
Expand Down Expand Up @@ -733,6 +734,11 @@ uint8_t Adafruit_AVRProg::internalRcCalibration() {
/*!
@brief Function to write a byte to certain address in Flash without
page erase. Useful for parameters.
@param Flash address you want to write to.
@param pagesize The flash-page size of this chip, in bytes. Check
datasheet!
@param The byte you want to write to.
@return True if flashing worked out.
*/
/**************************************************************************/
bool Adafruit_AVRProg::writeByteToFlash(unsigned int addr, uint8_t pagesize,
Expand Down

0 comments on commit 493b4c5

Please sign in to comment.