-
Better overcurrent/short detection
There are still some checks from OFW left to implement.
-
Make 144MHz PWM stable
PWM can be clocked @ 144MHz straight from PLL (it's @ 72MHz right now), doubling the resolution. This might cause problems with the slew rate, though, so some work is needed.
-
Implement CPU downclocking
Probably better to switch ADC, PWM and SPI to HXT so that we can freely change PLL clock. Do we really need this?
-
Implement HID transfer
Do we really need this? LDROM will do. Maybe add something for CFW to reboot into LDROM.
-
Remove redundant variable inits
Some global variables are init'ed both statically and in Whatever_Init(), better to clean that up.
-
Check ADC readings precision against Joyetech's code
Some fluctuate too much, might be better to throw away the least significant digits. Or do some averaging. Done for: atomizer voltage feedback loop.
-
Figure out what the hell type B display actually is
-
Figure out what PD.0 and PB.7 are
PB.7 is connected to unpopulated stuff so we'll probably never know. It is set by OFW though.