So far I have used camera_screen.width for the waveform memory allocation instead of 360/3. Using vid_get_viewport_width_proper and vid_get_viewport_height_proper caused the system to crash in waveform_process and I don't know why.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~main.c:45:39: warning: 'panic' defined but not used [-Wunused-function] 45 | static void __attribute__((noreturn)) panic(int cnt) | ^~~~~
--[[--@title HISTOswap@subtitle :o..,....1....,....2....,....3....,....4..--]]--ori="histo.flt"dir="A/CHDK/MODULES/"tmp=dir.."#swap.tmp"sav=dir.."!"..oriori=dir..oriif (os.rename(sav,tmp)) then print(os.rename(ori,sav)) print(os.rename(tmp,ori))endstat=os.stat(ori)print(ori)print('+'..stat.mtime)stat=os.stat(sav)print('-'..stat.mtime)sleep(2000)
There are other CHDK colors.
Started by acseven « 1 2 3 4 » Forum related topics (including issues)
Started by dzsemx AllBest's Builds
Started by Mirfak RAW Shooting and Processing
Started by StevenD Hello, I'm a NEWBIE - HELP!! (Newbies assistance, User Guides and thank you notes)
Started by nei Feature Requests