1 #include "stubs_asm.h" 2 #define NULL_SUB 0xffc00b28 3 4 // These don't exist 5 NHSTUB(GetBatteryTemperature, NULL_SUB) // Does not work in SX130 - A800 (included dummy in sub/100c/lib.c) 6 NHSTUB(kbd_pwr_on, NULL_SUB) // endereço dummy com uma instrução bx lr (um ret, creio) 7 NHSTUB(srand, NULL_SUB) // See #define CAM_MISSING_RAND in platform_camera.h 8 NHSTUB(rand, NULL_SUB) // See #define CAM_MISSING_RAND in platform_camera.h 9 NHSTUB(SetZoomActuatorSpeedPercent, NULL_SUB) 10 11 // Override stubs_entry.S 12 NHSTUB(MakeAFScan, 0xffd1b2e0) 13 NHSTUB(TurnOnMic, 0xffc444ec) 14 NHSTUB(TurnOffMic, 0xffc44518)