Blade Battery Indicator no longer working after Custom Fonts Installed

I looked around and noticed someone had this same problem HERE

I installed a bunch of new fonts onto my Sabertrio, and now the aux button no longer shows me the battery level on the blade. Going by the advice in that other post, I have this as the end of the font code:

TransitionEffectL<TrConcat<TrInstant,AlphaL<BrownNoiseFlicker<Black,RotateColorsX<Variation,Rgb16<65535,42753,42753>>,150>,SmoothStep<Scale<NoisySoundLevel,Int<-1500>,Trigger<EFFECT_PREON,WavLen<EFFECT_PREON>,Int<0>,Int<0>>>,Int<-8000>>>,TrDelayX<WavLen<EFFECT_PREON>>>,EFFECT_PREON>,
  AlphaL<Mix<BatteryLevel,Red,Green>,SmoothStep<BatteryLevel,Int<-10>>>,TrWipeIn<1000>>,EFFECT_BATTERY_LEVEL>
  >>(),
   },

and in Arduino I get this error:

In file included from C:\Users\ajbur\Desktop\LIGHTSABER FILES\My Aria Sabertrio\extra\ProffieOS\ProffieOS.ino:627:
C:\Users\ajbur\Desktop\LIGHTSABER FILES\My Aria Sabertrio\extra\ProffieOS\config\s3config_v3.h:121:6: error: expected primary-expression before ')' token
  121 |   >>()
      |      ^

exit status 1

Compilation error: expected primary-expression before ')' token

Anyone know what i did wrong?

I’m guessing that you pasted too much/little, and the < and > aren’t balanced anymore.

If you post your config file, we can take a look.

I honestly don’t know what the heck you’re talking about, LOL. So here’s the config file:

No access.

Yep, just fixed that

There is some confusion here. I think this was meant to be added to the preon layer, not as it’s own layer.

@Fett263 this comes from something you recommended. I’m fairly certain you meant this to go somewhere else, right?

It’s a layer that is added to a style in the library for the On Demand Battery option, but the styles look like someone “Frankenstein-ed” it without understanding the various parts. The styles also mix old and new syntaxes, so they don’t really make a lot of sense. My recommendation would be to re-generate the styles in the library so they are set up properly, and they’ll be a lot more efficient in terms of memory.

https://www.fett263.com/fett263-proffieOS7-style-library.html#fett263

@Streen It looks like you are using Sabertrio’s modded OS7.12 for this? I see what you’re trying to do. While I don’t have an official Aria config to look at yet here’s a Sabertrio V3 example config that uses Greyscale’s offerings and is roughly 51% in file size. From there all you would have to do is edit in any bladestyles/font naming not included. ie: I haven’t picked up Defect yet so I can’t plug it in for ya.

Note, if you have the new lit RGB button option just change the

StylePtr<WHITE>(), 

out for something different.

MTFBWY! :smiley: