GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Fixed some incorrect and missing comments. · gregkrsak/ArduinoProtoThread@bfb4ef4

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • ArduinoProtoThread.cpp
  • ArduinoProtoThreadDelegate.hpp
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎ArduinoProtoThread.cpp‎

Copy file name to clipboardExpand all lines: ArduinoProtoThread.cpp
+5-1Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
// Member Function: setEecutionIntervalTo
3636
// Purpose: Sets the protothread execution interval.
3737
// Parameters:
38-
// newInterval: Try to run this protothread every X number of milliseconds.
38+
// newIntervalInMs: Try to run this protothread every X number of milliseconds.
3939
// Returns: void
4040
//
4141
void ArduinoProtoThread::setExecutionIntervalTo(unsigned long newIntervalInMs)
@@ -59,6 +59,8 @@ unsigned long ArduinoProtoThread::executionInterval()
5959
//
6060
// Member Function: changeStateTo
6161
// Purpose: Changes the state of the protothread's state machine.
62+
// Parameters:
63+
// newState: The new state for the protothread. See ArduinoProtoThreadStateMachine.hpp for details.
6264
// Returns: void
6365
//
6466
void ArduinoProtoThread::changeStateTo(ArduinoProtoThreadState newState)
@@ -83,6 +85,8 @@ ArduinoProtoThreadState ArduinoProtoThread::currentState()
8385
//
8486
// Member Function: delegateCallbacksTo
8587
// Purpose: Sets the protothread's delegate.
88+
// Parameters:
89+
// *object: The protothread's delegate. See ArduinoProtoThreadDelegate.hpp for details.
8690
// Returns: void
8791
//
8892
void ArduinoProtoThread::delegateCallbacksTo(ArduinoProtoThreadDelegate *object)
Collapse file

‎ArduinoProtoThreadDelegate.hpp‎

Copy file name to clipboardExpand all lines: ArduinoProtoThreadDelegate.hpp
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// ArduinoProtoThread
22
// ArduinoProtoThreadDelegate.hpp
33
//
4-
// Abstract class that defines a delegate object for ArduinoProtoThread state transitionss.
4+
// Abstract class that defines a delegate object for ArduinoProtoThread state transitions.
55
//
66
// https://github.com/gregkrsak/ArduinoProtoThread
77
//

0 commit comments

Comments
0 (0)
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.