Changeset 1643
- Timestamp:
- 02/05/12 21:37:04 (16 months ago)
- File:
-
- 1 edited
-
branches/release-1_0/platform/a1100/lib.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/release-1_0/platform/a1100/lib.c
r1233 r1643 44 44 return 122; 45 45 } 46 47 /* 48 GetBatteryTemperature usually will get back temperature of battery compartment/batteries. GetBatteryTemperature is implemented in Canon's firmware for SX120IS. 49 Firmware entry point is identified but function is not usable. 50 Camera will crash if Canon's GetBatteryTemperature is called by CHDK. 51 To avoid a crash Canon's GetBatteryTemperature must not called. As long CHDK general code do not distinguish between cameras that support or don't support GetBatteryTemperature, 52 this function will be implemented as specific CHDK-code. It returns always with -99 53 This overrides original canon entry point from stubs_entry.S 54 */ 55 int _GetBatteryTemperature() 56 { 57 return -99; 58 } 59
Note: See TracChangeset
for help on using the changeset viewer.