[data-poll-manager] check user-specified poll period (#3401)

This commit is contained in:
rongli
2018-12-27 22:35:57 -08:00
committed by Jonathan Hui
parent 3fb736c566
commit 328239878d
9 changed files with 41 additions and 19 deletions
+1 -1
View File
@@ -164,7 +164,7 @@ public:
property uint32_t PollPeriod
{
uint32_t get() { return otLinkGetPollPeriod(DeviceInstance); }
void set(uint32_t value) { otLinkSetPollPeriod(DeviceInstance, value); }
void set(uint32_t value) { ThrowOnFailure(otLinkSetPollPeriod(DeviceInstance, value)); }
}
property uint8_t Channel