MODE_SCREEN_ROTATED - General Discussion and Assistance - CHDK Forum supplierdeeply

MODE_SCREEN_ROTATED

  • 0 Replies
  • 1419 Views
*

Offline reyalp

  • ******
  • 13718
MODE_SCREEN_ROTATED
« on: 10 / November / 2009, 19:30:56 »
Advertisements
This is for cameras with CAM_SWIVEL_SCREEN, correct ? So when platform/a550/main.c
Code: (c) [Select]
_GetPropertyCase(219, &t, 4);
//mode = (playrec_mode==1 || playrec_mode==2) ? MODE_REC : MODE_PLAY; // a560
mode = (physw_status[1] & 0x00000040) ? MODE_REC : MODE_PLAY; //eb5ccdc0 ( 110111000000 ):eb5cc980 ( 100110000000 )
mode |= (t == 270) ? MODE_SCREEN_ROTATED : 0;
this is just wrong ?

prop 219 is camera orientation sensor.

a550 doesn't have a swivel screen or define CAM_SWIVEL_SCREEN, so as far as I can tell this isn't even used. Just want to check if there's something tricky I'm missing here before I nuke it.
Don't forget what the H stands for.