Search found 1 match

by scootertrash
Thu Jan 03, 2013 1:06 pm
Forum: NetBurner's Eclipse IDE
Topic: Trouble compiling with binary constants
Replies: 2
Views: 6875

Trouble compiling with binary constants

I'm trying to compile the following in Eclipse (NNDK 2.4 RC2) targeted to a MOD5234:

const UINT8 MapFansToFanSets[] =
{
0b00000000, // 0 fans
0b00000001, // 1 fan
0b00000011, // 2 fans
0b00000111, // 3 fans
0b00001111, // 4 fans
0b00011111, // 5 fans
0b00111111, // 6 fans
0b01111111, // 7 ...