xEventGroupWaitBits returns 0x00ffffff

Hi! Yes configASSERT was defined like so
define configASSERT( x ) if( ( x ) == 0 ) { taskDISABLE_INTERRUPTS(); for( ;; ); }
This was a huge mystery because instead of asserting, the call hung and occasionally came back with 0x00ffffff

If I might piggy back another question - Can the xGroupSetBits be called from a timer task? Does it need to be an ISR?