Jimmenycricket,
If I recall, my diving theory (taught 10 years ago today!) and if you dive under the British underwater regulations (bsac or something like that) there is a set of tables. We were taught to not to fly until we returned and remained to an A table for at least 24 hours - based on depth and time spent underwater.
Rwy in Sight