Skip to content

Commit

Permalink
Response to suggestions by @hoffmann-stefan
Browse files Browse the repository at this point in the history
  • Loading branch information
alectutin-qut committed Nov 20, 2023
1 parent 75f6cf2 commit c46ca6d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion rcldotnet/Clock.cs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ internal static class TimeConstants
/// </summary>
public enum ClockType
{
ROSTime = 1,
RosTime = 1,
SystemTime = 2,
SteadyTime = 3
}
Expand Down
2 changes: 1 addition & 1 deletion rcldotnet/Node.cs
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ public Timer CreateTimer(TimeSpan period, Action<TimeSpan> callback)
return timer;
}

public bool DestroyTimer(Timer timer)
internal bool DestroyTimer(Timer timer)
{
if (!_timers.Contains(timer)) return false;

Expand Down
2 changes: 1 addition & 1 deletion rcldotnet/RCLdotnet.cs
Original file line number Diff line number Diff line change
Expand Up @@ -774,7 +774,7 @@ public static void Spin(Node node)
}
}

public static Clock CreateClock(ClockType type = ClockType.ROSTime)
public static Clock CreateClock(ClockType type = ClockType.RosTime)
{
var clockHandle = new SafeClockHandle();
RCLRet ret = RCLdotnetDelegates.native_rcl_create_clock_handle(ref clockHandle, (int)type);
Expand Down

0 comments on commit c46ca6d

Please sign in to comment.