Emit LED light

This commit is contained in:
NIIBE Yutaka
2012-06-08 09:48:40 +09:00
parent 17fd82ffa1
commit 258552e544
6 changed files with 35 additions and 20 deletions

View File

@@ -1506,7 +1506,9 @@ gpg_do_keygen (uint8_t kk_byte)
else
keystring_admin = NULL;
chEvtSignal (main_thread, LED_WAIT_MODE);
p_q_modulus = rsa_genkey ();
chEvtSignal (main_thread, LED_STATUS_MODE);
if (p_q_modulus == NULL)
{
GPG_MEMORY_FAILURE ();