Changeset 3062


Ignore:
Timestamp:
Jul 12, 2012, 9:24:19 PM (3 years ago)
Author:
wmb
Message:

OLPC ARM - don't touch cam-pwrdn GPIO on platforms that don't have it. (CL4 now builds cleanly)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • dev/olpc/mmp2camera/platform.fth

    r3049 r3062  
    2222: sensor-power-on   ( -- )
    2323   cam-pwr-gpio# gpio-set
     24[ifdef] cam-pwrdn-gpio#
    2425   cam-pwrdn-gpio# gpio-clr
     26[then]
    2527;
    2628: sensor-power-off  ( -- )
     29[ifdef] cam-pwrdn-gpio#
    2730   ( cam-pwrdn-gpio# gpio-set )       \ Leave low for Linux
     31[then]
    2832   cam-pwr-gpio# gpio-clr
    2933;
Note: See TracChangeset for help on using the changeset viewer.