Skip to content

Bad comment for return value of SntpGetTime_t #100

Closed
@machta

Description

@machta

The doc comment for SntpGetTime_t says "@return true if ...":

* @return `true` if obtaining system time is successful; otherwise `false` to

But the function returns void:

typedef void ( * SntpGetTime_t )( SntpTimestamp_t * pCurrentTime );

But it doesn't seem like a bad idea. Is there really no way to idicate failure from SntpGetTime_t or from SntpSetTime_t?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions