File tree Expand file tree Collapse file tree 1 file changed +0
-26
lines changed
applications/zpc/components/zwave/zwave_transports/s2/libs/zw-libs2/TestFramework/unity Expand file tree Collapse file tree 1 file changed +0
-26
lines changed Original file line number Diff line number Diff line change @@ -168,18 +168,6 @@ void UnityPrintNumberByStyle(const _U_SINT number, const UNITY_DISPLAY_STYLE_T s
168
168
/// basically do an itoa using as little ram as possible
169
169
void UnityPrintNumber (const _U_SINT number_to_print )
170
170
{
171
- #ifdef __codasip__
172
- _U_UINT nibbles = 0 ;
173
- _U_UINT tmp ;
174
- tmp = number_to_print ;
175
- do
176
- {
177
- tmp >>= 4 ;
178
- nibbles ++ ;
179
- }
180
- while (tmp > 0 );
181
- UnityPrintNumberHex (number_to_print , nibbles );
182
- #else
183
171
_U_SINT divisor = 1 ;
184
172
_U_SINT next_divisor ;
185
173
_U_UINT number ;
@@ -218,25 +206,12 @@ void UnityPrintNumber(const _U_SINT number_to_print)
218
206
divisor /= 10 ;
219
207
}
220
208
while (divisor > 0 );
221
- #endif /* __codasip__ */
222
209
}
223
210
224
211
//-----------------------------------------------
225
212
/// basically do an itoa using as little ram as possible
226
213
void UnityPrintNumberUnsigned (const _U_UINT number )
227
214
{
228
- #ifdef __codasip__
229
- _U_UINT nibbles = 0 ;
230
- _U_UINT tmp ;
231
- tmp = number ;
232
- do
233
- {
234
- tmp = tmp >> 4 ;
235
- nibbles ++ ;
236
- }
237
- while (tmp > 0 );
238
- UnityPrintNumberHex (number , nibbles );
239
- #else
240
215
_U_UINT divisor = 1 ;
241
216
_U_UINT next_divisor ;
242
217
// figure out initial divisor
@@ -256,7 +231,6 @@ void UnityPrintNumberUnsigned(const _U_UINT number)
256
231
divisor /= 10 ;
257
232
}
258
233
while (divisor > 0 );
259
- #endif /* __codasip__ */
260
234
}
261
235
262
236
//-----------------------------------------------
You can’t perform that action at this time.
0 commit comments