From the top of my head (no manual available right now), for recreational diving (40 meters max.) the rule of thumb is as follows:
- do not fly 12 hours after diving to a max. depth of 18 metres for 20 minutes (or 30 minutes? Not sure there...)
or
- do not fly 24 hours after diving any deeper or any longer
Of course low altitude flight in case of decompression sickness is an exception to this rule, but this is not the question...
Hope it helps...
Mrs. FloatJockey (retired PADI Dive Instructor and F/A wannabe)