Update README.md

master
漪綿 清烛 5 years ago committed by GitHub
parent 70b637aede
commit c21bd2491c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      docs/ovo_Timer/README.md

@ -26,7 +26,7 @@ void display(){
int main()
{
ovo::Timer t = ovo::Timer();
t.setsetTimeout(dis, 1000);
t.setTimeout(display, 1000);
while (1); //Keep the main thread never stop
return 0;
@ -58,7 +58,7 @@ void display(){
int main()
{
ovo::Timer t = ovo::Timer();
t.setsetInterval(dis, 1000);
t.setInterval(display, 1000);
while (1); //Keep the main thread never stop
return 0;

Loading…
Cancel
Save