diff options
author | SanJacobs | 2022-07-12 03:22:40 +0200 |
---|---|---|
committer | SanJacobs | 2022-07-12 03:22:40 +0200 |
commit | a3900c0419c7f3bb3d47834376b610008d6554cf (patch) | |
tree | 40932bce85930518dc09488af613d35d9f7717a0 /src/time.h | |
parent | 55adec80ffefd9a1090209cfe6298ff850dedfc4 (diff) | |
download | satscalc-a3900c0419c7f3bb3d47834376b610008d6554cf.tar.gz satscalc-a3900c0419c7f3bb3d47834376b610008d6554cf.tar.bz2 satscalc-a3900c0419c7f3bb3d47834376b610008d6554cf.zip |
Workdays split into price segments in constructor
Diffstat (limited to 'src/time.h')
-rwxr-xr-x | src/time.h | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -54,7 +54,11 @@ struct workday{ moment call; moment wrap; moment planned_wrap; - timeblock blocks[14]; + timeblock blocks[13]; + int total_timeblocks; + // total_timeblocks exsists because blocks[13] can't be shrunk, + // so total_timeblocks is the point at which blocks[13] just contains + // garbage data. // // 1. call // 2. sleepbreach |