Mercurial > hg > beaglert
comparison include/Midi.h @ 216:869f5e703844
Fixed compiler warnings
author | Giulio Moro <giuliomoro@yahoo.it> |
---|---|
date | Sat, 13 Feb 2016 01:51:01 +0000 |
parents | b128e3ea84ff |
children | 97faaf985164 |
comparison
equal
deleted
inserted
replaced
215:b10f5ba8fd33 | 216:869f5e703844 |
---|---|
61 _statusByte = 0; | 61 _statusByte = 0; |
62 } | 62 } |
63 void prettyPrint(){ | 63 void prettyPrint(){ |
64 rt_printf("MessageType: %x, ", this->getType()); | 64 rt_printf("MessageType: %x, ", this->getType()); |
65 rt_printf("channel: %u, ", this->getChannel()); | 65 rt_printf("channel: %u, ", this->getChannel()); |
66 for(int n = 0; n < this->getNumDataBytes(); n++){ | 66 for(unsigned int n = 0; n < this->getNumDataBytes(); n++){ |
67 rt_printf("data%d: %d, ", n + 1, this->getDataByte(n)); | 67 rt_printf("data%d: %d, ", n + 1, this->getDataByte(n)); |
68 } | 68 } |
69 rt_printf("\n"); | 69 rt_printf("\n"); |
70 } | 70 } |
71 | 71 |