I am unable to multiply ...

This commit is contained in:
Thammi 2013-09-05 12:00:52 +02:00
parent 8723cb8913
commit 2c5596dba6
2 changed files with 2 additions and 2 deletions

View File

@ -214,7 +214,7 @@ void buzzer_off(void) {
void wait_ms(uint16_t ms) { void wait_ms(uint16_t ms) {
// TODO: this function seems to be ~10% too fast // TODO: this function seems to be ~10% too fast
int32_t cycles = ms * (int32_t)64; int32_t cycles = ms * (int32_t) 76;
// wait_time is int16_t for performance reasons, so we have to wait multiple times // wait_time is int16_t for performance reasons, so we have to wait multiple times

View File

@ -2,7 +2,7 @@
#include <pentabug/hal.h> #include <pentabug/hal.h>
#define HALF_BIT_TICKS 34 #define HALF_BIT_TICKS 68
static uint8_t toggle = 0; static uint8_t toggle = 0;