Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion LibSource/Patch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ AudioBuffer* Patch::createMemoryBuffer(int channels, int samples){
#define DWT_CYCCNT ((volatile unsigned int *)0xE0001004)

float Patch::getElapsedBlockTime(){
return (*DWT_CYCCNT)/getBlockSize()/3500.0;
return (*DWT_CYCCNT)/getBlockSize()/(float)5000;
}

int Patch::getElapsedCycles(){
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ ASFLAGS = -g
endif

ifeq ($(CONFIG),Release)
CPPFLAGS ?= -Os -specs=nano.specs -ffast-math
CPPFLAGS ?= -O3 -specs=nano.specs -ffast-math
EMCCFLAGS ?= -Oz # optimise for size
endif

Expand Down Expand Up @@ -59,7 +59,7 @@ BUILD ?= $(BUILDROOT)/Build
LDSCRIPT ?= $(BUILDROOT)/Source/flash.ld
# LDSCRIPT ?= $(BUILDROOT)/Source/STM32F746ZGTx_FLASH.ld
PATCHSOURCE ?= $(BUILDROOT)/PatchSource
FIRMWARESENDER ?= Tools/FirmwareSender
FIRMWARESENDER ?= ~/Documents/FirmwareSender/Builds/Linux/build/FirmwareSender

export BUILD BUILDROOT TARGET
export PATCHNAME PATCHCLASS PATCHSOURCE
Expand Down
1 change: 0 additions & 1 deletion PatchSource/.gitignore

This file was deleted.

Loading