diff options
Diffstat (limited to 'bootloaders/diskloader/src')
-rw-r--r-- | bootloaders/diskloader/src/DiskLoader.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bootloaders/diskloader/src/DiskLoader.cpp b/bootloaders/diskloader/src/DiskLoader.cpp index f854fd1..1771d02 100644 --- a/bootloaders/diskloader/src/DiskLoader.cpp +++ b/bootloaders/diskloader/src/DiskLoader.cpp @@ -220,10 +220,10 @@ int main() u16 _pulse; void LEDPulse() { - _pulse++; - u8 p = _pulse >> 8; - if (p > 127) - p = 255-p; + _pulse += 4; + u8 p = _pulse >> 9; + if (p > 63) + p = 127-p; p += p; if (((u8)_pulse) > p) LED0; |