Software BOD Disable

For some reason both of the code examples you gave me ended up not working. They both caused my tiny84 to not go to a complete sleep state (sleep at .74mA rather than .02mA) so im not sure exactly what it did.

However I did find code that does work properly in my project

set_sleep_mode(SLEEP_MODE_PWR_DOWN); // sleep mode is set here
  sleep_enable(); 
  MCUCR = MCUCR | bit(BODSE) | bit(BODS); // timed sequence
  MCUCR = MCUCR & ~ bit(BODSE) | bit(BODS);
  sleep_cpu();