diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-04-18 21:43:12 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-04-18 21:43:12 +0200 |
commit | 8536c08f20e68046807b580f89ad429fbc898fa9 (patch) | |
tree | 9fc37fd3b6293df74fca28c01b4dd1ffec7dc123 /asm/jo_r_loop.asm | |
parent | Finished main program (diff) | |
download | lowbat-bsd-8536c08f20e68046807b580f89ad429fbc898fa9.tar.gz lowbat-bsd-8536c08f20e68046807b580f89ad429fbc898fa9.tar.bz2 lowbat-bsd-8536c08f20e68046807b580f89ad429fbc898fa9.tar.xz lowbat-bsd-8536c08f20e68046807b580f89ad429fbc898fa9.tar.zst lowbat-bsd-8536c08f20e68046807b580f89ad429fbc898fa9.zip |
Removed some comments
Diffstat (limited to 'asm/jo_r_loop.asm')
-rw-r--r-- | asm/jo_r_loop.asm | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/asm/jo_r_loop.asm b/asm/jo_r_loop.asm index 7aa68ac..dccb46c 100644 --- a/asm/jo_r_loop.asm +++ b/asm/jo_r_loop.asm @@ -38,7 +38,7 @@ bigloop: call jo_f_percent ; check the capacity cmp rax, 0xfe ; in case we couldn't read je err - cmp rax, 0xf ; 15% + cmp rax, 0xf jge sleepalot mov rdi, rax call jo_r_cpyhead @@ -56,13 +56,13 @@ speak: call jo_n_speak sleepabit: - mov rdi, 0x14 ; 20s + mov rdi, 0x14 call sleep ; sleep 20 seconds before next check/notification jmp bigloop sleepalot: - mov rdi, 0xf0 ; 240s - call sleep ; sleep 4m if it's fine + mov rdi, 0xf0 + call sleep ; sleep 240s (4m) if it's fine jmp bigloop return: |