Added function to get the DCC password from demo handler.

This commit is contained in:
skarg
2017-01-01 05:08:40 +00:00
parent 7bf98e590a
commit d416303844
2 changed files with 35 additions and 2 deletions
+7
View File
@@ -67,6 +67,13 @@ void handler_dcc_password_set(
}
}
/** Gets (non-volatile hold) the password to be used for DCC requests.
* @return DCC password
*/
char *handler_dcc_password(void)
{
return My_Password;
}
/** Handler for a Device Communication Control (DCC) request.
* @ingroup DMDCC