https://bitbucket.org/hudson/magic-lantern
Revision d2926c96da5aad51218f8cbee029ccd92f354e70 authored by alex@thinkpad on 17 February 2018, 20:28:28 UTC, committed by alex@thinkpad on 17 February 2018, 20:28:28 UTC
Renamed get_ms_clock_value / get_us_clock_value to get_ms_clock / get_us_clock
Replaced all hardcoded references to 0xC0242014 with GET_DIGIC_TIMER()
```
find . -not -path '*/\.*' -type f -name '*.c' -o -name '*.h' -exec sed -i 's/get_ms_clock_value/get_ms_clock/g' {} +
find . -not -path '*/\.*' -type f -name '*.c' -o -name '*.h' -exec sed -i 's/get_us_clock_value/get_us_clock/g' {} +
sed -i 's/\*(volatile uint32_t \*)0xC0242014/GET_DIGIC_TIMER()/' */*.c
...
```
1 parent b1938c1
History
Tip revision: d2926c96da5aad51218f8cbee029ccd92f354e70 authored by alex@thinkpad on 17 February 2018, 20:28:28 UTC
Moved timer functions to timer.h (always included from dryos.h)
Tip revision: d2926c9
File Mode Size
build_tools
contrib
data
doc
doxygen
features
icons
include
installer
minimal
modules
platform
scripts
src
tcc
.hgignore -rw-r--r-- 1.3 KB
.hgtags -rw-r--r-- 3.0 KB
COPYING -rw-r--r-- 17.6 KB
Doxyfile -rw-r--r-- 98.8 KB
Makefile -rw-r--r-- 3.0 KB
Makefile.filerules -rw-r--r-- 1.5 KB
Makefile.inc -rw-r--r-- 3.4 KB
Makefile.obsolete -rw-r--r-- 2.9 KB
Makefile.setup -rw-r--r-- 3.8 KB
Makefile.setup.toolchain -rw-r--r-- 2.2 KB
Makefile.top -rw-r--r-- 2.3 KB
Makefile.user.default -rw-r--r-- 7.2 KB
README.md -rw-r--r-- 838 bytes
logo.png -rw-r--r-- 7.8 KB

README.md

back to top