for_gamma
Diff: GammaTransporter.cpp
- Revision:
- 3:8487ffc7b69c
- Parent:
- 0:519ec302e9b8
--- a/GammaTransporter.cpp Fri Aug 18 07:35:25 2017 +0000 +++ b/GammaTransporter.cpp Tue Aug 22 04:39:31 2017 +0000 @@ -28,6 +28,11 @@ return no_error; } +void GammaTransporter::write(int index_num, int data) +{ + pool.data_index[index_num] = data; +} + int GammaTransporter::read(int index_num) { return pool.data_index[index_num];